aboutsummaryrefslogtreecommitdiff
path: root/.builds/smoketest-builtin.sh
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-07-31 00:23:15 +0200
committerKenny Levinsen <kl@kl.wtf>2020-07-31 00:23:15 +0200
commit1dbd92030724ff1e9df58291722d33d2d89fbc12 (patch)
tree56169a2deb8ef837278dd10af5f753de14b09b1e /.builds/smoketest-builtin.sh
parent3b32bd539bfa0daf169559e009f3e9aa6140f4ce (diff)
ci: Initial CI
Diffstat (limited to '.builds/smoketest-builtin.sh')
-rwxr-xr-x.builds/smoketest-builtin.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/.builds/smoketest-builtin.sh b/.builds/smoketest-builtin.sh
new file mode 100755
index 0000000..acf4640
--- /dev/null
+++ b/.builds/smoketest-builtin.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+res=0
+#
+# Run simpletest a few times
+#
+cnt=0
+while [ "$cnt" -lt 5 ]
+do
+ echo "Simpletest run $cnt"
+ if ! sudo LIBSEAT_BACKEND=builtin LIBSEAT_LOGLEVEL=debug SEATD_SOCK=./seatd.sock ./build/simpletest
+ then
+ echo "Simpletest failed"
+ res=1
+ break
+ fi
+ cnt=$((cnt+1))
+done
+
+
+exit $res