Commit cc2c2eaa authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Don't leave ghosts of x86_partition if the test fails.

parent 638e16bd
......@@ -4,6 +4,9 @@ cp -a testSimulinkResponses.py binary.c/binaries/ground-GUI/ || exit 1
cd binary.c/binaries/ || exit 1
./x86_partition & 2>/dev/null
cd ground-GUI || exit 1
timeout 30 ./testSimulinkResponses.py 2>/dev/null || exit 1
timeout 30 ./testSimulinkResponses.py 2>/dev/null || {
killall x86_partition
exit 1
}
killall x86_partition
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment