Skip to content

Commit 620da3b

Browse files
committed
exclude windows specific interface symbols from linux/darwin tests.
1 parent 777134f commit 620da3b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
// RUN: %p/../../../../lib/sanitizer_common/sanitizer_coverage_interface.inc \
3636
// RUN: | grep -e "INTERFACE_\(WEAK_\)\?FUNCTION" \
3737
// RUN: | grep -v "__sanitizer_weak_hook" \
38+
// RUN: | grep -v "__sanitizer_override_function" \
39+
// RUN: | grep -v "__sanitizer_override_function_by_addr" \
40+
// RUN: | grep -v "__sanitizer_register_weak_function" \
3841
// RUN: | sed -e "s/.*(//" -e "s/).*//" > %t.imports
3942
//
4043
// RUN: cat %t.imports | sort | uniq > %t.imports-sorted

compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
// RUN: %p/../../../../lib/sanitizer_common/sanitizer_coverage_interface.inc \
2222
// RUN: | grep -e "INTERFACE_\(WEAK_\)\?FUNCTION" \
2323
// RUN: | grep -v "__sanitizer_weak_hook" \
24+
// RUN: | grep -v "__sanitizer_override_function" \
25+
// RUN: | grep -v "__sanitizer_override_function_by_addr" \
26+
// RUN: | grep -v "__sanitizer_register_weak_function" \
2427
// RUN: | sed -e "s/.*(//" -e "s/).*//" > %t.imports
2528
//
2629
// RUN: cat %t.imports | sort | uniq > %t.imports-sorted

0 commit comments

Comments
 (0)