switch usan32 tests to gcc-5
authorYann Collet <cyan@fb.com>
Fri, 18 Nov 2016 02:41:26 +0000 (18:41 -0800)
committerYann Collet <cyan@fb.com>
Fri, 18 Nov 2016 02:41:26 +0000 (18:41 -0800)
.travis.yml
Makefile

index 3ab2647..785553a 100644 (file)
@@ -31,17 +31,17 @@ matrix:
           packages:
             - gcc-6
 
-    - env: Ubu=14.04 Cmd='make sanitize32' COMPILER=clang
+    - env: Ubu=14.04 Cmd='make usan32' COMPILER=gcc-5
       dist: trusty
       sudo: required
       addons:
         apt:
           packages:
             - clang
-            - libc6-dev-i386
-            - gcc-multilib
+            - gcc-5
+            - gcc-5-multilib
 
-    - env: Ubu=14.04 Cmd='make sanitize' COMPILER=clang
+    - env: Ubu=14.04 Cmd='make usan' COMPILER=clang
       dist: trusty
       sudo: required
       addons:
index 3a5af81..15acdf9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -106,11 +106,11 @@ clangtest-native: clean
        @CFLAGS="-O3 -Werror -Wconversion -Wno-sign-conversion" $(MAKE) -C $(PRGDIR)  native CC=clang
        @CFLAGS="-O3 -Werror -Wconversion -Wno-sign-conversion" $(MAKE) -C $(TESTDIR) native CC=clang
 
-sanitize: clean
-       CFLAGS="-O3 -g -fsanitize=undefined" $(MAKE) test CC=clang FUZZER_TIME="-T1mn" NB_LOOPS=-i1
+usan: clean
+       CC=clang CFLAGS="-O3 -g -fsanitize=undefined" $(MAKE) test FUZZER_TIME="-T1mn" NB_LOOPS=-i1
 
-sanitize32: clean
-       CFLAGS="-m32 -O3 -g -fsanitize=undefined" $(MAKE) test CC=clang FUZZER_TIME="-T1mn" NB_LOOPS=-i1
+usan32: clean
+       CC=clang CFLAGS="-m32 -O3 -g -fsanitize=undefined" $(MAKE) test FUZZER_TIME="-T1mn" NB_LOOPS=-i1
 
 staticAnalyze: clean
        CFLAGS=-g scan-build --status-bugs -v $(MAKE) all