Skip to content

Commit

Permalink
move kill command to runtest
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Zak authored and Jonathan Zak committed Jul 23, 2024
1 parent 5f65c7e commit 2c70247
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ posttest:
runtests:
echo "Running tests"
./runTests.sh
ps -ef | grep manzan | awk '{ print $2 }' | xargs kill -9


testing: /qsys.lib/${BUILDLIB}.lib/MANZANQ.msgq watch_start watch_testq watch_end


Expand Down
3 changes: 3 additions & 0 deletions test/runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ do
echo " $num_error errored"
done

echo "Killing Manzan processes"
ps -ef | grep manzan | awk '{ print $2 }' | xargs kill -9

if [ $num_fail -ne 0 ] || [ $num_error -ne 0 ]; then
echo "Tests failed."
exit 1
Expand Down

0 comments on commit 2c70247

Please sign in to comment.