Skip to content

Commit fa9be2d

Browse files
committed
fix missing valgrind & don't be that noisy
1 parent 58b731b commit fa9be2d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ addons:
1313

1414
install:
1515
- sudo apt-get update -qq
16-
- sudo apt-get install libtommath-dev libgmp-dev
16+
- sudo apt-get install libtommath-dev libgmp-dev valgrind
1717

1818
before_script:
1919
- gem install coveralls-lcov

meta_builds.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,25 @@ function run_gcc() {
2121

2222
make clean &>/dev/null
2323

24-
make CFLAGS="$2 $CFLAGS $4" EXTRALIBS="$5" test LTC_DEBUG=2
24+
make CFLAGS="$2 $CFLAGS $4" EXTRALIBS="$5" test LTC_DEBUG=1 1>gcc_1.txt 2>gcc_2.txt
2525

26-
valgrind --error-exitcode=666 --leak-check=full --show-leak-kinds=all --errors-for-leak-kinds=all ./test
26+
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
2727

2828
make clean &>/dev/null
2929

30-
make CFLAGS="-fsanitize=address -fno-omit-frame-pointer -static-libasan $2 $CFLAGS $4" EXTRALIBS="-lasan $5" test LTC_DEBUG=1
31-
ASAN_OPTIONS=verbosity=1 ./test t ltm
32-
ASAN_OPTIONS=verbosity=1 ./test t gmp
30+
make CFLAGS="-fsanitize=address -fno-omit-frame-pointer -static-libasan $2 $CFLAGS $4" EXTRALIBS="-lasan $5" test LTC_DEBUG=1 1>gcc_1.txt 2>gcc_2.txt
31+
ASAN_OPTIONS=verbosity=1 ./test t ltm 1>test_std.txt 2> test_err.txt
32+
ASAN_OPTIONS=verbosity=1 ./test t gmp 1>test_std.txt 2> test_err.txt
3333
}
3434

3535
function run_clang() {
3636
bash scan_build.sh "SCAN_BUILD" "$2" "$3" "$4" "$5"
3737

3838
make clean &>/dev/null
3939

40-
make LDFLAGS="-fsanitize=undefined" CFLAGS="$2 $CFLAGS $4" EXTRALIBS="$5" all LTC_DEBUG=1
41-
UBSAN_OPTIONS=verbosity=1 ./test t ltm
42-
UBSAN_OPTIONS=verbosity=1 ./test t gmp
40+
make LDFLAGS="-fsanitize=undefined" CFLAGS="$2 $CFLAGS $4" EXTRALIBS="$5" all LTC_DEBUG=1 1>gcc_1.txt 2>gcc_2.txt
41+
UBSAN_OPTIONS=verbosity=1 ./test t ltm 1>test_std.txt 2> test_err.txt
42+
UBSAN_OPTIONS=verbosity=1 ./test t gmp 1>test_std.txt 2> test_err.txt
4343
}
4444

4545

0 commit comments

Comments
 (0)