diff options
Diffstat (limited to 'test/tsan/fork_multithreaded.cc')
-rw-r--r-- | test/tsan/fork_multithreaded.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tsan/fork_multithreaded.cc b/test/tsan/fork_multithreaded.cc index cceb83ec2..5176a14d6 100644 --- a/test/tsan/fork_multithreaded.cc +++ b/test/tsan/fork_multithreaded.cc @@ -1,5 +1,5 @@ -// RUN: %clangxx_tsan -O1 %s -o %t && %t 2>&1 | FileCheck %s -check-prefix=CHECK-DIE -// RUN: %clangxx_tsan -O1 %s -o %t && TSAN_OPTIONS="die_after_fork=0" %t 2>&1 | FileCheck %s -check-prefix=CHECK-NODIE +// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s -check-prefix=CHECK-DIE +// RUN: %clangxx_tsan -O1 %s -o %t && TSAN_OPTIONS="die_after_fork=0" %run %t 2>&1 | FileCheck %s -check-prefix=CHECK-NODIE #include <stdlib.h> #include <stdio.h> #include <errno.h> |