From: Vitaly Buka Date: Tue, 22 Nov 2022 01:36:47 +0000 (-0800) Subject: [test][asan] Try to fix Windows bot X-Git-Tag: upstream/17.0.6~26919 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=793ff082da87343b27a367b3d80783aedbde833b;p=platform%2Fupstream%2Fllvm.git [test][asan] Try to fix Windows bot --- 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 b81682b..dcf5b1b 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 different environments with different 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: