[compiler-rt] 793ff08 - [test][asan] Try to fix Windows bot
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 21 17:37:19 PST 2022
Author: Vitaly Buka
Date: 2022-11-21T17:37:08-08:00
New Revision: 793ff082da87343b27a367b3d80783aedbde833b
URL: https://github.com/llvm/llvm-project/commit/793ff082da87343b27a367b3d80783aedbde833b
DIFF: https://github.com/llvm/llvm-project/commit/793ff082da87343b27a367b3d80783aedbde833b.diff
LOG: [test][asan] Try to fix Windows bot
Added:
Modified:
compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp b/compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp
index b81682b22e9af..dcf5b1b9fb06f 100644
--- a/compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp
+++ b/compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp
@@ -15,18 +15,22 @@
// [BEWARE: be really careful with the sed commands, as this test can be run
// from
diff erent environments with
diff erent shells and seds]
//
-// RUN: grep -e "^INTERFACE_FUNCTION" \
+// RUN: cat \
// RUN: %p/../../../../lib/asan/asan_interface.inc \
// RUN: %p/../../../../lib/ubsan/ubsan_interface.inc \
// RUN: %p/../../../../lib/sanitizer_common/sanitizer_common_interface.inc \
// RUN: %p/../../../../lib/sanitizer_common/sanitizer_coverage_interface.inc \
+// RUN: | tr '\n' ' ' | sed "s/ //g" | sed "s/)/)\n/g" \
+// RUN: | grep -e "^INTERFACE_FUNCTION" \
// RUN: | sed -e "s/.*(//" -e "s/).*//" > %t.imports1
//
-// RUN: grep -e "^INTERFACE_WEAK_FUNCTION" \
+// RUN: cat \
// RUN: %p/../../../../lib/asan/asan_interface.inc \
// RUN: %p/../../../../lib/ubsan/ubsan_interface.inc \
// RUN: %p/../../../../lib/sanitizer_common/sanitizer_common_interface.inc \
// RUN: %p/../../../../lib/sanitizer_common/sanitizer_coverage_interface.inc \
+// RUN: | tr '\n' ' ' | sed "s/ //g" | sed "s/)/)\n/g" \
+// RUN: | grep -e "^INTERFACE_WEAK_FUNCTION" \
// RUN: | sed -e "s/.*(//" -e "s/).*/__dll/" > %t.imports2
//
// Add functions not included in the interface lists:
More information about the llvm-commits
mailing list