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

rawset(_G, 'TEST', true)

function TEST(script)
    local ast = parser:ast(script)
    assert(ast)
    local vm = buildVM(ast)
    assert(vm)
end

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