[ASan] move all lit_tests under TestCases

llvm-svn: 183395
This commit is contained in:
Alexey Samsonov 2013-06-06 09:23:34 +00:00
parent 15439bcf79
commit 2874f70250
100 changed files with 4 additions and 3 deletions

View File

@ -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/(.*//" \

View File

@ -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/(.*//" \

View File

@ -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):

View File

@ -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.