forked from OSchip/llvm-project
[ASan] move all lit_tests under TestCases
llvm-svn: 183395
This commit is contained in:
parent
15439bcf79
commit
2874f70250
|
@ -16,7 +16,7 @@
|
|||
// RUN: | grep -v "__asan_default_options" \
|
||||
// RUN: | grep -v "__asan_on_error" > %t.symbols
|
||||
|
||||
// RUN: cat %p/../../asan_interface_internal.h \
|
||||
// RUN: cat %p/../../../asan_interface_internal.h \
|
||||
// RUN: | sed "s/\/\/.*//" | sed "s/typedef.*//" \
|
||||
// RUN: | grep -v "OPTIONAL" \
|
||||
// RUN: | grep "__asan_.*(" | sed "s/.* __asan_/__asan_/;s/(.*//" \
|
|
@ -8,7 +8,7 @@
|
|||
// RUN: | grep -v "__asan_symbolize" \
|
||||
// RUN: | grep -v "__asan_default_options" \
|
||||
// RUN: | grep -v "__asan_on_error" > %t.symbols
|
||||
// RUN: cat %p/../../asan_interface_internal.h \
|
||||
// RUN: cat %p/../../../asan_interface_internal.h \
|
||||
// RUN: | sed "s/\/\/.*//" | sed "s/typedef.*//" \
|
||||
// RUN: | grep -v "OPTIONAL" \
|
||||
// RUN: | grep "__asan_.*(" | sed "s/.* __asan_/__asan_/;s/(.*//" \
|
|
@ -77,7 +77,7 @@ if llvm_tools_dir:
|
|||
# Setup path to symbolizer script.
|
||||
# FIXME: Instead we should copy this script to the build tree and point
|
||||
# at it there.
|
||||
asan_source_dir = os.path.join(config.test_source_root, "..")
|
||||
asan_source_dir = get_required_attr(config, "asan_source_dir")
|
||||
symbolizer = os.path.join(asan_source_dir,
|
||||
'scripts', 'asan_symbolize.py')
|
||||
if not os.path.exists(symbolizer):
|
||||
|
|
|
@ -9,6 +9,7 @@ config.compiler_rt_src_root = "@COMPILER_RT_SOURCE_DIR@"
|
|||
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
|
||||
config.clang = "@LLVM_BINARY_DIR@/bin/clang"
|
||||
config.compiler_rt_arch = "@COMPILER_RT_SUPPORTED_ARCH@"
|
||||
config.asan_source_dir = "@ASAN_SOURCE_DIR@"
|
||||
|
||||
# LLVM tools dir can be passed in lit parameters, so try to
|
||||
# apply substitution.
|
||||
|
|
Loading…
Reference in New Issue