diff --git a/compiler-rt/test/nsan/vec_sqrt.cpp b/compiler-rt/test/nsan/vec_sqrt.cpp index d1ef048785850..64a7130322873 100644 --- a/compiler-rt/test/nsan/vec_sqrt.cpp +++ b/compiler-rt/test/nsan/vec_sqrt.cpp @@ -1,7 +1,7 @@ // RUN: %clangxx_nsan -O0 -g -mavx %s -o %t -// RUN: NSAN_OPTIONS=check_nan=true,halt_on_error=0 %run %t 2>&1 | FileCheck %s +// RUN: env NSAN_OPTIONS=check_nan=true,halt_on_error=0 %run %t 2>&1 | FileCheck %s // RUN: %clangxx_nsan -O3 -g -mavx %s -o %t -// RUN: NSAN_OPTIONS=check_nan=true,halt_on_error=0 %run %t 2>&1 | FileCheck %s +// RUN: env NSAN_OPTIONS=check_nan=true,halt_on_error=0 %run %t 2>&1 | FileCheck %s #include #include @@ -31,4 +31,4 @@ int main() { // CHECK: WARNING: NumericalStabilitySanitizer: NaN detected } return 0; -} \ No newline at end of file +}