Commit c1862815 authored by Andreas Schmidt's avatar Andreas Schmidt

Use memtest script.

parent e35317b7
Pipeline #902 passed with stages
in 2 minutes and 19 seconds
......@@ -42,11 +42,7 @@ test_prrt_mem:
tags:
- valgrind
script:
- which valgrind
- export prrtResult=0
- valgrind --tool=memcheck --track-origins=yes --leak-check=full --error-exitcode=1 ./bin/receiver 5000 127 receiver.csv & export prrtReceiverProcessID=$!
- valgrind --tool=memcheck --track-origins=yes --leak-check=full --error-exitcode=1 ./bin/sender 127.0.0.1 5000 127 sender.csv || prrtResult=$?; kill -INT $prrtReceiverProcessID; wait $prrtReceiverProcessID || prrtResult=$?
- exit $prrtResult
- bash memtest.sh
test_prrt_functional:
stage: test
......@@ -71,3 +67,4 @@ clean_pypirc:
when: always
script:
- rm -vf ~/.pypirc
\ No newline at end of file
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