diff options
Diffstat (limited to 'test/lsan/TestCases/use_stacks_threaded.cc')
-rw-r--r-- | test/lsan/TestCases/use_stacks_threaded.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lsan/TestCases/use_stacks_threaded.cc b/test/lsan/TestCases/use_stacks_threaded.cc index bcb4b1e2d..fc4e661c2 100644 --- a/test/lsan/TestCases/use_stacks_threaded.cc +++ b/test/lsan/TestCases/use_stacks_threaded.cc @@ -1,9 +1,9 @@ // Test that stacks of non-main threads are included in the root set. // RUN: LSAN_BASE="report_objects=1:use_registers=0" // RUN: %clangxx_lsan -pthread %s -o %t -// RUN: LSAN_OPTIONS=$LSAN_BASE:"use_stacks=0" not %t 2>&1 | FileCheck %s -// RUN: LSAN_OPTIONS=$LSAN_BASE:"use_stacks=1" %t 2>&1 -// RUN: LSAN_OPTIONS="" %t 2>&1 +// RUN: LSAN_OPTIONS=$LSAN_BASE:"use_stacks=0" not %run %t 2>&1 | FileCheck %s +// RUN: LSAN_OPTIONS=$LSAN_BASE:"use_stacks=1" %run %t 2>&1 +// RUN: LSAN_OPTIONS="" %run %t 2>&1 #include <assert.h> #include <pthread.h> |