Skip to content

Commit e2469b1

Browse files
[libFuzzer][Windows] Reenable passing tests
Summary: Enable tests that were previously disabled because they didn't work on Windows. Reviewers: morehouse Reviewed By: morehouse Subscribers: morehouse Differential Revision: https://reviews.llvm.org/D57563 llvm-svn: 353000
1 parent 1fce5a8 commit e2469b1

File tree

8 files changed

+3
-11
lines changed

8 files changed

+3
-11
lines changed

compiler-rt/test/fuzzer/cxxstring.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
UNSUPPORTED: windows,freebsd
1+
UNSUPPORTED: freebsd
22

33
RUN: %cpp_compiler %S/CxxStringEqTest.cpp -o %t-CxxStringEqTest
44

compiler-rt/test/fuzzer/minimize_crash.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
UNSUPPORTED: windows
21
RUN: %cpp_compiler %S/NullDerefTest.cpp -o %t-NullDerefTest
32
RUN: %cpp_compiler %S/SingleByteInputTest.cpp -o %t-SingleByteInputTest
43
RUN: mkdir -p %t.dir

compiler-rt/test/fuzzer/minimize_two_crashes.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Test that the minimizer stops when it sees a different bug.
2-
UNSUPPORTED: freebsd,windows
2+
UNSUPPORTED: freebsd
33

44
# TODO: Find out why test fails on Darwin with -O2.
55
RUN: %cpp_compiler -O0 %S/TwoDifferentBugsTest.cpp -o %t-TwoDifferentBugsTest

compiler-rt/test/fuzzer/null-deref-on-empty.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
UNSUPPORTED: windows
21
RUN: %cpp_compiler %S/NullDerefOnEmptyTest.cpp -o %t-NullDerefOnEmptyTest
32

43
RUN: not %run %t-NullDerefOnEmptyTest -print_final_stats=1 2>&1 | FileCheck %s --check-prefix=NULL_DEREF_ON_EMPTY

compiler-rt/test/fuzzer/null-deref.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
UNSUPPORTED: windows
21
RUN: %cpp_compiler %S/NullDerefTest.cpp -o %t-NullDerefTest
32

43
RUN: not %run %t-NullDerefTest 2>&1 | FileCheck %s --check-prefix=NullDerefTest
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# FIXME: Disabled on Windows because of hangs.
2-
UNSUPPORTED: windows, ios
1+
UNSUPPORTED: ios
32
CHECK: BINGO
43
RUN: %cpp_compiler %S/SimpleCmpTest.cpp -o %t-SimpleCmpTest
54
RUN: not %run %t-SimpleCmpTest -seed=1 -use_cmp=0 -use_value_profile=1 -runs=100000000 2>&1 | FileCheck %s
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# FIXME: Disabled on Windows because of hangs.
2-
UNSUPPORTED: windows
31
CHECK: BINGO
42
RUN: %cpp_compiler %S/AbsNegAndConstant64Test.cpp -o %t-AbsNegAndConstant64Test
53
RUN: not %run %t-AbsNegAndConstant64Test -seed=1 -use_cmp=0 -use_value_profile=1 -runs=100000000 2>&1 | FileCheck %s
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# FIXME: Disabled on Windows because of hangs.
2-
UNSUPPORTED: windows
31
CHECK: AddressSanitizer: global-buffer-overflow
42
RUN: %cpp_compiler %S/LoadTest.cpp -fsanitize-coverage=trace-gep -o %t-LoadTest
53
RUN: not %run %t-LoadTest -seed=2 -use_cmp=0 -use_value_profile=1 -runs=20000000 2>&1 | FileCheck %s

0 commit comments

Comments
 (0)