ci: Add completion print to smoketest
This commit is contained in:
parent
9f5fcec874
commit
957483fde5
2 changed files with 4 additions and 6 deletions
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
res=0
|
|
||||||
|
|
||||||
# Devices that exist on sr.ht
|
# Devices that exist on sr.ht
|
||||||
if [ -e "/dev/input/event0" ]
|
if [ -e "/dev/input/event0" ]
|
||||||
then
|
then
|
||||||
|
@ -24,11 +22,9 @@ do
|
||||||
if ! sudo LIBSEAT_BACKEND=builtin LIBSEAT_LOGLEVEL=debug SEATD_SOCK=./seatd.sock ./build/simpletest $file
|
if ! sudo LIBSEAT_BACKEND=builtin LIBSEAT_LOGLEVEL=debug SEATD_SOCK=./seatd.sock ./build/simpletest $file
|
||||||
then
|
then
|
||||||
echo "Simpletest failed"
|
echo "Simpletest failed"
|
||||||
res=1
|
exit $res
|
||||||
break
|
|
||||||
fi
|
fi
|
||||||
cnt=$((cnt+1))
|
cnt=$((cnt+1))
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo "smoketest-builtin completed"
|
||||||
exit $res
|
|
||||||
|
|
|
@ -54,3 +54,5 @@ done
|
||||||
# Wait for it to shut down
|
# Wait for it to shut down
|
||||||
#
|
#
|
||||||
sudo killall seatd 2>/dev/null
|
sudo killall seatd 2>/dev/null
|
||||||
|
|
||||||
|
echo "smoketest-seatd completed"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue