Loading .gitlab-ci.yml +1 −10 Original line number Diff line number Diff line Loading @@ -47,15 +47,6 @@ test:prrt_mem: script: - bash tests/memtest.sh test:prrt_concurrency: stage: test dependencies: - build:prrt tags: - valgrind script: - bash tests/concurrencytest.sh test:prrt_functional: stage: test dependencies: Loading tests/concurrencytest.shdeleted 100644 → 0 +0 −22 Original line number Diff line number Diff line #!/usr/bin/env bash which valgrind check() { #echo "CHECK $1 $2" if [ "$1" -ne 0 ]; then echo >&2 "$2" exit $1 fi } to="timeout -s INT 30 " valgrind="valgrind --tool=helgrind --error-exitcode=1" $to $valgrind ./receiver -p 5000 -r 127 -o receiver.csv & $to $valgrind ./sender -t 127.0.0.1 -p 5000 -r 127 -o sender.csv check "$?" "sender failed" wait check "$?" "receiver failed" Loading
.gitlab-ci.yml +1 −10 Original line number Diff line number Diff line Loading @@ -47,15 +47,6 @@ test:prrt_mem: script: - bash tests/memtest.sh test:prrt_concurrency: stage: test dependencies: - build:prrt tags: - valgrind script: - bash tests/concurrencytest.sh test:prrt_functional: stage: test dependencies: Loading
tests/concurrencytest.shdeleted 100644 → 0 +0 −22 Original line number Diff line number Diff line #!/usr/bin/env bash which valgrind check() { #echo "CHECK $1 $2" if [ "$1" -ne 0 ]; then echo >&2 "$2" exit $1 fi } to="timeout -s INT 30 " valgrind="valgrind --tool=helgrind --error-exitcode=1" $to $valgrind ./receiver -p 5000 -r 127 -o receiver.csv & $to $valgrind ./sender -t 127.0.0.1 -p 5000 -r 127 -o sender.csv check "$?" "sender failed" wait check "$?" "receiver failed"