File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 1717echo " " | tee -a $REPORT
1818echo " Run with: -O0" | tee -a report_valgrind.txt
1919cd ../mapcodelib
20- gcc $OPTS -g -O0 -DDEBUG - c mapcoder.c
20+ gcc $OPTS -g -O0 -c mapcoder.c
2121cd ../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
22+ gcc $OPTS -g -O0 unittest.c -lm -lpthread -o unittest $LIB
3223valgrind --leak-check=yes ./unittest | tee -a $REPORT
3324echo " ----------------" tee -a $REPORT
3425
You can’t perform that action at this time.
0 commit comments