]> granicus.if.org Git - gc/commitdiff
Travis CI: Add a test with TSan with parallel marker (Linux/clang)
authorIvan Maidanski <ivmai@mail.ru>
Fri, 1 Dec 2017 16:43:02 +0000 (19:43 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 1 Dec 2017 16:43:02 +0000 (19:43 +0300)
.travis.yml

index c8476306634690e962d6a6d1929499bc5d3e01b2..22be23c65987283540074f149b7436e86a758135 100644 (file)
@@ -351,6 +351,20 @@ matrix:
     - TESTS_CUSTOM_RUN=true
     - CONF_OPTIONS="--enable-cplusplus --enable-handle-fork --enable-munmap --enable-static"
     - NO_CLONE_LIBATOMIC_OPS=true
+  - os: linux
+    addons:
+      apt:
+        packages:
+        - clang-4.0
+        sources:
+        - llvm-toolchain-trusty-4.0
+    compiler: clang-4.0
+    dist: trusty
+    language: c
+    env:
+    - CFLAGS_EXTRA="-fsanitize=thread -D NO_CANCEL_SAFE -D NO_INCREMENTAL -D USE_SPIN_LOCK -fno-omit-frame-pointer"
+    - CONF_OPTIONS="--enable-gc-assertions"
+    - NO_CLONE_LIBATOMIC_OPS=true
   - os: linux
     addons:
       apt: