aboutsummaryrefslogtreecommitdiff
path: root/src/run-tests.sh
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2020-08-20 12:23:35 +0930
committerDavid Timber <mieabby@gmail.com>2020-08-20 15:15:57 +0930
commit76d4d6b2bafada7b790e817b7324d53f3d3a0c7f (patch)
treed8b3669fa7b167fc3bf764e971fc6e70bd8d9b49 /src/run-tests.sh
parent7bd3eb3b1ad4209ac4cf4b46f849213d46bc33aa (diff)
Progress ...
* Move DVault out of executable. Dynamically load it on startup * Improved testing scheme * Tidy up prne_*assert* macro series * Protocol: store host credentials in base64 string. No mask * Use the lock shm as a shared_global so the stats can persist * mmap() the executable read-only for later use
Diffstat (limited to 'src/run-tests.sh')
-rwxr-xr-xsrc/run-tests.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/run-tests.sh b/src/run-tests.sh
new file mode 100755
index 0000000..aa51958
--- /dev/null
+++ b/src/run-tests.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+for t in $(cat testlist); do
+
+ echo "Running $t ... "
+ "./$t"
+ ret=$?
+ if [ $ret -eq 0 ]; then
+ echo "OK";
+ else
+ echo "FAIL: $ret"
+ fi
+done