summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-06 05:39:19 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-08-06 05:39:19 +0200
commit18379e15998e96ca604c10adc6295cc4b89ae8e4 (patch)
treea3545affdbaaa9209990ad0f73b60a7fc49dfc6b /tests
parent7c461804ac6ae24d3026e803e7a0a04303a687c3 (diff)
Updating Balau and Dalos-modules, and adding a few Lua tests for Dalos-cli.
Diffstat (limited to 'tests')
-rw-r--r--tests/alltests.lua5
-rw-r--r--tests/load-test.lua1
-rw-r--r--tests/runtests.lua1
-rw-r--r--tests/test1.lua3
4 files changed, 10 insertions, 0 deletions
diff --git a/tests/alltests.lua b/tests/alltests.lua
new file mode 100644
index 0000000..d0feda2
--- /dev/null
+++ b/tests/alltests.lua
@@ -0,0 +1,5 @@
+load "tests/test1.lua"
+
+function runtests()
+ test1()
+end
diff --git a/tests/load-test.lua b/tests/load-test.lua
new file mode 100644
index 0000000..9700e50
--- /dev/null
+++ b/tests/load-test.lua
@@ -0,0 +1 @@
+print "in load-test.lua"
diff --git a/tests/runtests.lua b/tests/runtests.lua
new file mode 100644
index 0000000..f37e71a
--- /dev/null
+++ b/tests/runtests.lua
@@ -0,0 +1 @@
+runtests()
diff --git a/tests/test1.lua b/tests/test1.lua
new file mode 100644
index 0000000..bc42fd9
--- /dev/null
+++ b/tests/test1.lua
@@ -0,0 +1,3 @@
+function test1()
+ load "tests/load-test.lua"
+end