summaryrefslogtreecommitdiff
path: root/server-beta/test/full/init.lua
blob: 3d0661cbe81c231194726d3ed465021193a2a26a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local buildVM = require 'vm'
local parser  = require 'parser'

rawset(_G, 'TEST', true)

function TEST(script)
    local ast = parser:parse(script, 'lua', 'Lua 5.3')
    assert(ast)
    local vm, err = buildVM(ast)
    assert(vm, err)
    return vm
end

require 'full.normal'
require 'full.example'
require 'full.dirty'