[sanitizers] fix print-module-map test on linux

Looks like the default options for halt_on_error are different between linux and mac. set it to 0 in the test so the behavior is the same on both platforms.

rdar://75110847

Reviewed By: delcypher

Differential Revision: https://reviews.llvm.org/D98089
This commit is contained in:
Emily Shi 2021-03-05 16:26:22 -08:00
parent ab8a460241
commit c0503df15d
1 changed files with 6 additions and 3 deletions

View File

@ -8,9 +8,12 @@
// RUN: %clangxx -DUSING_%tool_name %s -o %t -w
// RUN: %env_tool_opts="print_module_map=0" not %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-MM0
// RUN: %env_tool_opts="print_module_map=1" not %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-MM1
// RUN: %env_tool_opts="print_module_map=2" not %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-MM2
// 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
// tsan support pending rdar://67747473
// XFAIL: tsan