forked from OSchip/llvm-project
Fix PR26608: Make sanitizer_common tests more portable.
llvm-svn: 261150
This commit is contained in:
parent
57e1a3e6ee
commit
51a8de9f7a
|
@ -4,7 +4,7 @@
|
|||
// RUN: %clangxx %s -o %t
|
||||
|
||||
// Intentionally don't inherit the default options.
|
||||
// RUN: %tool_options='' not --crash %run %t 2>&1
|
||||
// RUN: env %tool_options='' not --crash %run %t 2>&1
|
||||
|
||||
// When we use lit's default options, we shouldn't crash.
|
||||
// RUN: not %run %t 2>&1
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// RUN: %clangxx %s -o %t
|
||||
|
||||
// Intentionally don't inherit the default options.
|
||||
// RUN: %tool_options='' not %run %t 2>&1
|
||||
// RUN: env %tool_options='' not %run %t 2>&1
|
||||
|
||||
// When we use lit's default options, we shouldn't crash either. On Linux
|
||||
// lit doesn't set options anyway.
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
// RUN: %clangxx -O0 %s -o %t
|
||||
|
||||
// Recursive include: options1 includes options2
|
||||
// RUN: echo -e "symbolize=1\ninclude='%t.options2.txt'" >%t.options1.txt
|
||||
// RUN: echo -e "help=1\n" >%t.options2.txt
|
||||
// RUN: echo -e "help=1\n" >%t.options.options-include.cc.tmp
|
||||
// RUN: echo "symbolize=1" > %t.options1.txt
|
||||
// RUN: echo "include='%t.options2.txt'" >>%t.options1.txt
|
||||
// RUN: echo "help=1" >%t.options2.txt
|
||||
// RUN: echo "help=1" >%t.options.options-include.cc.tmp
|
||||
// RUN: cat %t.options1.txt
|
||||
// RUN: cat %t.options2.txt
|
||||
|
||||
|
|
Loading…
Reference in New Issue