summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------Balau0
m---------Dalos-modules0
-rw-r--r--Makefile4
-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
7 files changed, 13 insertions, 1 deletions
diff --git a/Balau b/Balau
-Subproject cd5da6097812baf125c2dc4f1d12e1a3f498546
+Subproject 1a67500d100520dd8be9856f2f57ab8b0fbf90b
diff --git a/Dalos-modules b/Dalos-modules
-Subproject 3c1040007a354ce55bd964beabac94b67c1f6fc
+Subproject da30e788fea8391efecc648ae0efc8db665a1a0
diff --git a/Makefile b/Makefile
index 09cc5d6..c91cdec 100644
--- a/Makefile
+++ b/Makefile
@@ -48,8 +48,10 @@ strip: $(TARGET)
Balau:
$(MAKE) -C Balau
-tests:
+tests: $(TARGET)
$(MAKE) -C Balau tests
+ ./$(TARGET) tests/alltests.lua tests/runtests.lua
+ ./$(TARGET) tests/alltests.lua -e 'runtests()'
Balau/libBalau.a:
$(MAKE) -C Balau
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