Skip to content

Commit ef59be6

Browse files
committed
Updated
1 parent f2fa25c commit ef59be6

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

unittest/run_gprof.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ REPORT=report_gprof.txt
22
OPTS="-Wall -Werror -Wno-pointer-to-int-cast"
33
LIB="../mapcodelib/mapcoder.o"
44

5+
echo "----------------------------------------------------------------" | tee -a $REPORT
56
echo "Run gprof profiler..." | tee $REPORT
67
date | tee -a $REPORT
8+
echo "----------------------------------------------------------------" | tee -a $REPORT
79

810
TEST=`which gprof`
911
if [ "$TEST" = "" ]

unittest/run_normal.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
REPORT=report_normal.txt
22
OPTS="-Wall -Werror -Wno-pointer-to-int-cast"
33

4+
echo "----------------------------------------------------------------" | tee -a $REPORT
45
echo "Run normal..." | tee $REPORT
56
date | tee -a $REPORT
7+
echo "----------------------------------------------------------------" | tee -a $REPORT
68

79
echo "" | tee -a $REPORT
810
echo "Run with: -O0" | tee -a $REPORT

unittest/run_sanitizer.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ LIB="../mapcodelib/mapcoder.o"
44

55
export ASAN_OPTIONS=debug=true:strict_string_checks=1:detect_stack_use_after_return=true:detect_invalid_pointer_pairs=99999:detect_container_overflow=true:detect_odr_violation=2:check_initialization_order=true:strict_init_order=true
66

7+
echo "----------------------------------------------------------------" | tee -a $REPORT
78
echo "Run address sanitizer..." | tee $REPORT
89
date | tee -a $REPORT
10+
echo "----------------------------------------------------------------" | tee -a $REPORT
911

1012
TEST=`which clang`
1113
if [ "$TEST" = "" ]

unittest/run_valgrind.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ REPORT=report_valgrind.txt
22
OPTS="-Wall -Werror -Wno-pointer-to-int-cast"
33
LIB="../mapcodelib/mapcoder.o"
44

5+
echo "----------------------------------------------------------------" | tee -a $REPORT
56
echo "Run valgrind" | tee $REPORT
67
date | tee -a $REPORT
8+
echo "----------------------------------------------------------------" | tee -a $REPORT
79

810
TEST=`which valgrind`
911
if [ "$TEST" = "" ]

0 commit comments

Comments
 (0)