We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29c640f commit c5caac5Copy full SHA for c5caac5
valgrind.sh
@@ -28,6 +28,6 @@ echo "Run tests with valgrind..."
28
for i in `seq 1 10` ; do sleep 300 && echo "Valgrind tests in Progress..."; done &
29
alive_pid=$!
30
31
-valgrind --error-exitcode=666 --leak-check=full --show-leak-kinds=all --errors-for-leak-kinds=all ./test 1>test_std.txt 2>test_err.txt || { kill $alive_pid; echo "Valgrind failed"; exit 1; }
+valgrind --error-exitcode=666 --leak-check=full --show-leak-kinds=all --errors-for-leak-kinds=all ./test >test_std.txt 2> >(tee -a test_err.txt >&2) || { kill $alive_pid; echo "Valgrind failed"; exit 1; }
32
33
kill $alive_pid
0 commit comments