mirror of
git://git.acid.vegas/unrealircd.git
synced 2024-11-14 12:06:41 +00:00
15 lines
430 B
Bash
Executable File
15 lines
430 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# This is a simple wrapper script that will run the tests
|
|
# When finished, either due to succes or failure,
|
|
# it will kill the ircd
|
|
#
|
|
# Also, it makes sure the job times out (is killed)
|
|
# in case it misbehaves
|
|
#
|
|
set +ex
|
|
timeout --kill-after=5 600 extras/build-tests/nix/run-tests
|
|
EX="$?"
|
|
killall -9 valgrind valgrind.bin memcheck memcheck-amd64-linux memcheck-x86-linux ircd unrealircd val 1>/dev/null 2>&1
|
|
exit $EX
|