summaryrefslogtreecommitdiff
path: root/server/test/full/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/full/init.lua')
-rw-r--r--server/test/full/init.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/server/test/full/init.lua b/server/test/full/init.lua
new file mode 100644
index 00000000..f3a7402d
--- /dev/null
+++ b/server/test/full/init.lua
@@ -0,0 +1,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'