Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated
  • Loading branch information
rijnb committed Oct 31, 2016
commit ef59be699e39bfdc25338a4fdcf777362acd5003
2 changes: 2 additions & 0 deletions unittest/run_gprof.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ REPORT=report_gprof.txt
OPTS="-Wall -Werror -Wno-pointer-to-int-cast"
LIB="../mapcodelib/mapcoder.o"

echo "----------------------------------------------------------------" | tee -a $REPORT
echo "Run gprof profiler..." | tee $REPORT
date | tee -a $REPORT
echo "----------------------------------------------------------------" | tee -a $REPORT

TEST=`which gprof`
if [ "$TEST" = "" ]
Expand Down
2 changes: 2 additions & 0 deletions unittest/run_normal.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
REPORT=report_normal.txt
OPTS="-Wall -Werror -Wno-pointer-to-int-cast"

echo "----------------------------------------------------------------" | tee -a $REPORT
echo "Run normal..." | tee $REPORT
date | tee -a $REPORT
echo "----------------------------------------------------------------" | tee -a $REPORT

echo "" | tee -a $REPORT
echo "Run with: -O0" | tee -a $REPORT
Expand Down
2 changes: 2 additions & 0 deletions unittest/run_sanitizer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ LIB="../mapcodelib/mapcoder.o"

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

echo "----------------------------------------------------------------" | tee -a $REPORT
echo "Run address sanitizer..." | tee $REPORT
date | tee -a $REPORT
echo "----------------------------------------------------------------" | tee -a $REPORT

TEST=`which clang`
if [ "$TEST" = "" ]
Expand Down
2 changes: 2 additions & 0 deletions unittest/run_valgrind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ REPORT=report_valgrind.txt
OPTS="-Wall -Werror -Wno-pointer-to-int-cast"
LIB="../mapcodelib/mapcoder.o"

echo "----------------------------------------------------------------" | tee -a $REPORT
echo "Run valgrind" | tee $REPORT
date | tee -a $REPORT
echo "----------------------------------------------------------------" | tee -a $REPORT

TEST=`which valgrind`
if [ "$TEST" = "" ]
Expand Down