[compiler-rt] 1c5f083 - [NFC] Fix module map test

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 5 17:23:55 PST 2021


Author: Vitaly Buka
Date: 2021-03-05T17:23:19-08:00
New Revision: 1c5f08312874717caf5d94729d825c32845773ec

URL: https://github.com/llvm/llvm-project/commit/1c5f08312874717caf5d94729d825c32845773ec
DIFF: https://github.com/llvm/llvm-project/commit/1c5f08312874717caf5d94729d825c32845773ec.diff

LOG: [NFC] Fix module map test

Followup for D98089

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Posix/print-module-map.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/print-module-map.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/print-module-map.cpp
index 395beee0d206..eb8a69b562c1 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Posix/print-module-map.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/print-module-map.cpp
@@ -8,12 +8,9 @@
 
 // RUN: %clangxx -DUSING_%tool_name %s -o %t -w
 
-// RUN: %env_tool_opts="print_module_map=0:halt_on_error=0" not %run %t 2>&1 \
-// RUN:     | FileCheck %s --check-prefixes=CHECK,CHECK-MM0
-// RUN: %env_tool_opts="print_module_map=1:halt_on_error=0" not %run %t 2>&1 \
-// RUN:     | FileCheck %s --check-prefixes=CHECK,CHECK-MM1
-// RUN: %env_tool_opts="print_module_map=2:halt_on_error=0" not %run %t 2>&1 \
-// RUN:     | FileCheck %s --check-prefixes=CHECK,CHECK-MM2
+// RUN: %env_tool_opts="print_module_map=0:abort_on_error=1" not --crash %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-MM0
+// RUN: %env_tool_opts="print_module_map=1:abort_on_error=1" not --crash %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-MM1
+// RUN: %env_tool_opts="print_module_map=2:abort_on_error=1" not --crash %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-MM2
 
 // tsan support pending rdar://67747473
 // XFAIL: tsan


        


More information about the llvm-commits mailing list