[compiler-rt] 17dde37 - [test] [fuzzer] Enable tests for iossim, disable for ios (update2)

Roy Sundahl via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 16:23:41 PDT 2022


Author: Roy Sundahl
Date: 2022-09-13T16:19:08-07:00
New Revision: 17dde371e773d0409cd010ade1f3f3376973d16c

URL: https://github.com/llvm/llvm-project/commit/17dde371e773d0409cd010ade1f3f3376973d16c
DIFF: https://github.com/llvm/llvm-project/commit/17dde371e773d0409cd010ade1f3f3376973d16c.diff

LOG: [test] [fuzzer] Enable tests for iossim, disable for ios (update2)

The fuzzer tests cross_over.test and merge-control-file.test are not handled
correctly on ios device testing. On-device testing requires the macros %t, %s,
etc. to be expanded for a different default directory than when testing on host.

rdar://99889376

Differential Revision: https://reviews.llvm.org/D133811

Added: 
    

Modified: 
    compiler-rt/test/fuzzer/cross_over.test
    compiler-rt/test/fuzzer/merge-control-file.test

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/fuzzer/cross_over.test b/compiler-rt/test/fuzzer/cross_over.test
index 64e06e8cd3667..5fc3b060b308f 100644
--- a/compiler-rt/test/fuzzer/cross_over.test
+++ b/compiler-rt/test/fuzzer/cross_over.test
@@ -1,3 +1,5 @@
+# For IOS, we fail to permute the run lines properly (rdar://99889376)
+XFAIL: ios && !iossim
 # Tests CrossOverTest.
 # We want to make sure that the test can find the input
 # ABCDEFGHIJ when given two other inputs in the seed corpus:

diff  --git a/compiler-rt/test/fuzzer/merge-control-file.test b/compiler-rt/test/fuzzer/merge-control-file.test
index f269bed0ef527..ebd2cf5af3baa 100644
--- a/compiler-rt/test/fuzzer/merge-control-file.test
+++ b/compiler-rt/test/fuzzer/merge-control-file.test
@@ -1,4 +1,5 @@
-XFAIL: ios
+# For IOS, we fail to permute the run lines properly (rdar://99889376)
+XFAIL: ios && !iossim
 RUN: mkdir -p %t
 # Use a ".exe" extension because it is needed on Windows to call system()
 # to execute itself again.


        


More information about the llvm-commits mailing list