[compiler-rt] 9170308 - [fuzzer] Disable uncaught-exception on non-Win+undo bad fix

Jonathan Metzman via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 16 09:38:25 PST 2020


Author: Jonathan Metzman
Date: 2020-11-16T09:35:35-08:00
New Revision: 91703085f53428ea6305770d41db148e0ebbdea7

URL: https://github.com/llvm/llvm-project/commit/91703085f53428ea6305770d41db148e0ebbdea7
DIFF: https://github.com/llvm/llvm-project/commit/91703085f53428ea6305770d41db148e0ebbdea7.diff

LOG: [fuzzer] Disable uncaught-exception on non-Win+undo bad fix

Test is failing on non-Windows platforms. Also undo speculative
fix since it causes failures on Windows.

Added: 
    

Modified: 
    compiler-rt/test/fuzzer/uncaught-exception.test

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/fuzzer/uncaught-exception.test b/compiler-rt/test/fuzzer/uncaught-exception.test
index ea011d0dd4fa..b055c88f6d90 100644
--- a/compiler-rt/test/fuzzer/uncaught-exception.test
+++ b/compiler-rt/test/fuzzer/uncaught-exception.test
@@ -1,8 +1,10 @@
 # Test that throws a C++ exception and doesn't catch it. Should result in a
 # crash
+# FIXME: Get test working on other platforms.
+REQUIRES: windows
 RUN: %cpp_compiler %S/UncaughtException.cpp -o %t-UncaughtException
 
-RUN: ASAN_OPTIONS=allocator_may_return_null=1 not %run %t-UncaughtException 2>&1 | FileCheck %s
+RUN: not %run %t-UncaughtException 2>&1 | FileCheck %s
 
 CHECK: ERROR: libFuzzer: deadly signal
 CHECK: Test unit written to ./crash


        


More information about the llvm-commits mailing list