From 1dbd92030724ff1e9df58291722d33d2d89fbc12 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Fri, 31 Jul 2020 00:23:15 +0200 Subject: ci: Initial CI --- .builds/smoketest-builtin.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 .builds/smoketest-builtin.sh (limited to '.builds/smoketest-builtin.sh') 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 -- cgit v1.2.3