We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cec6202 commit b35cf45Copy full SHA for b35cf45
1 file changed
unittest/run_valgrind.sh
@@ -17,18 +17,9 @@ fi
17
echo "" | tee -a $REPORT
18
echo "Run with: -O0" | tee -a report_valgrind.txt
19
cd ../mapcodelib
20
-gcc $OPTS -g -O0 -DDEBUG -c mapcoder.c
+gcc $OPTS -g -O0 -c mapcoder.c
21
cd ../unittest
22
-gcc $OPTS -g -O0 -DDEBUG unittest.c -lm -lpthread -o unittest $LIB
23
-valgrind --leak-check=yes ./unittest | tee -a $REPORT
24
-echo "----------------" tee -a $REPORT
25
-
26
-echo "" | tee -a $REPORT
27
-echo "Run with: -O3" | tee -a report_valgrind.txt
28
-cd ../mapcodelib
29
-gcc $OPTS -g -O3 -c mapcoder.c
30
-cd ../unittest
31
-gcc $OPTS -g -O3 unittest.c -lm -lpthread -o unittest $LIB
+gcc $OPTS -g -O0 unittest.c -lm -lpthread -o unittest $LIB
32
valgrind --leak-check=yes ./unittest | tee -a $REPORT
33
echo "----------------" tee -a $REPORT
34
0 commit comments