ci: Add completion print to smoketest

This commit is contained in:
Kenny Levinsen 2020-08-01 16:22:45 +02:00
parent 9f5fcec874
commit 957483fde5
2 changed files with 4 additions and 6 deletions

View file

@ -1,7 +1,5 @@
#!/bin/sh
res=0
# Devices that exist on sr.ht
if [ -e "/dev/input/event0" ]
then
@ -24,11 +22,9 @@ do
if ! sudo LIBSEAT_BACKEND=builtin LIBSEAT_LOGLEVEL=debug SEATD_SOCK=./seatd.sock ./build/simpletest $file
then
echo "Simpletest failed"
res=1
break
exit $res
fi
cnt=$((cnt+1))
done
exit $res
echo "smoketest-builtin completed"

View file

@ -54,3 +54,5 @@ done
# Wait for it to shut down
#
sudo killall seatd 2>/dev/null
echo "smoketest-seatd completed"