diff options
author | George Karpenkov <ekarpenkov@apple.com> | 2018-05-11 21:29:51 +0000 |
---|---|---|
committer | George Karpenkov <ekarpenkov@apple.com> | 2018-05-11 21:29:51 +0000 |
commit | 0c191c85e3110a42b96d657e8fc50381f4d1c115 (patch) | |
tree | 27d212b973a1f68d7e822fdd54ede9c325b26b8e /test/fuzzer/fuzzer-ubsan.test | |
parent | 64c820d819421d8d5dd262b16ed367636e2da23b (diff) | |
download | compiler-rt-0c191c85e3110a42b96d657e8fc50381f4d1c115.tar.gz |
[libFuzzer] [NFC] Prefix all run lines with %run
This patch does not do anything, but paves the way for future changes,
where %run command will be expanded into a script performing the testing
on device.
Differential Revision: https://reviews.llvm.org/D46553
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@332144 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/fuzzer/fuzzer-ubsan.test')
-rw-r--r-- | test/fuzzer/fuzzer-ubsan.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fuzzer/fuzzer-ubsan.test b/test/fuzzer/fuzzer-ubsan.test index 49c190cd0..207e9d84e 100644 --- a/test/fuzzer/fuzzer-ubsan.test +++ b/test/fuzzer/fuzzer-ubsan.test @@ -1,5 +1,5 @@ -RUN: %cpp_compiler -fsanitize=undefined -fno-sanitize-recover=all %S/SignedIntOverflowTest.cpp -o %t-SignedIntOverflowTest-Ubsan -RUN: not %t-SignedIntOverflowTest-Ubsan 2>&1 | FileCheck %s +RUN: %cpp_compiler -fsanitize=undefined -fno-sanitize-recover=all %S/SignedIntOverflowTest.cpp -o %run %t-SignedIntOverflowTest-Ubsan +RUN: not %run %t-SignedIntOverflowTest-Ubsan 2>&1 | FileCheck %s CHECK: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int' CHECK: Test unit written to ./crash- |