]> granicus.if.org Git - icu/commitdiff
ICU-20120 Travis TSAN testing, limit time. (#198)
authorAndy Heninger <andy.heninger@gmail.com>
Sat, 6 Oct 2018 03:24:45 +0000 (20:24 -0700)
committerGitHub <noreply@github.com>
Sat, 6 Oct 2018 03:24:45 +0000 (20:24 -0700)
* ICU-20120 Travis TSAN testing, limit time.

* ICU-20120 Travis TSAN testing, limit time.

.travis.yml

index 1f8bdd702101e5cdeb6f9e316fb3606c0875318f..26c4811bf8a10dcf77dbeb6a0df599b6054db724 100644 (file)
@@ -55,7 +55,11 @@ matrix:
     #
     - name: "c: linux tsan"
       language: cpp
-      env:      BUILD=ICU4C_CLANG_THREAD_SAN
+      env:
+          - BUILD=ICU4C_CLANG_THREAD_SAN
+          - INTLTEST_OPTS="utility/MultithreadTest rbbi/RBBIMonkeyTest format/CalendarLimitTest"
+          - CPPFLAGS="-fsanitize=thread"
+          - LDFLAGS=-fsanitize=thread
       os:       linux
       dist:     trusty
       sudo:     true
@@ -68,7 +72,11 @@ matrix:
               packages:
                   - clang-5.0
       script:
-          - cd icu4c/source && CPPFLAGS="-fsanitize=thread" LDFLAGS="-fsanitize=thread" ./runConfigureICU --enable-debug --disable-release Linux --disable-renaming && make -j2 check
+          - cd icu4c/source &&
+            ./runConfigureICU --enable-debug --disable-release Linux --disable-renaming &&
+            make -j2  &&
+            make -j2 -C test &&
+            make -j2 -C test/intltest check
 
     # copyright scan / future linter
     - name: "lint"