forked from OSchip/llvm-project
parent
a5b2a64980
commit
394f1d4159
|
@ -1,9 +1,9 @@
|
|||
// RUN: %clangxx_tsan -O1 %s -DLIB -fPIC -fno-sanitize=thread -shared -o %T/libignore_lib0.so
|
||||
// RUN: %clangxx_tsan -O1 %s -L%T -lignore_lib0 -o %t
|
||||
// RUN: echo running w/o suppressions:
|
||||
// RUN: LD_LIBRARY_PATH=%T${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} %deflake %run %t | FileCheck %s --check-prefix=CHECK-NOSUPP
|
||||
// RUN: env LD_LIBRARY_PATH=%T${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} %deflake %run %t | FileCheck %s --check-prefix=CHECK-NOSUPP
|
||||
// RUN: echo running with suppressions:
|
||||
// RUN: LD_LIBRARY_PATH=%T${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} %env_tsan_opts=suppressions='%s.supp' %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-WITHSUPP
|
||||
// RUN: env LD_LIBRARY_PATH=%T${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} %env_tsan_opts=suppressions='%s.supp' %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-WITHSUPP
|
||||
|
||||
// Tests that interceptors coming from a library specified in called_from_lib
|
||||
// suppression are ignored.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// RUN: %clang_tsan -O2 %s -o %t
|
||||
// RUN: ASAN_OPTIONS=check_printf=1 %run %t 2>&1 | FileCheck %s
|
||||
// RUN: ASAN_OPTIONS=check_printf=0 %run %t 2>&1 | FileCheck %s
|
||||
// RUN: %env_tsan_opts=check_printf=1 %run %t 2>&1 | FileCheck %s
|
||||
// RUN: %env_tsan_opts=check_printf=0 %run %t 2>&1 | FileCheck %s
|
||||
// RUN: %run %t 2>&1 | FileCheck %s
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
Loading…
Reference in New Issue