Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6791c8f

Browse files
author
Roy Sundahl
committed
[fuzzer][test] Avoid big-file-copy.test on memory constrained devices
The test "big-file-copy.test" introduced in D146189 and constrained to darwin by D147094, is by this differential further constrained to only those devices with sufficient resources. Also correct the test to read the environment variable "result" from the same shell in which it was stored (which may differ on devices). Reviewed By: thetruestblue Differential Revision: https://reviews.llvm.org/D147502 (cherry picked from commit 5c950a3) (cherry picked from commit c0d5e1d)
1 parent 0ad1ba5 commit 6791c8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
REQUIRES: darwin
2+
UNSUPPORTED: tvos || watchos
23
RUN: %cpp_compiler %S/BigFileCopy.cpp -o %t
34
RUN: %run %t -runs=1 -rss_limit_mb=4096 2>big-file-out.txt; result=$?
45
RUN: %run rm -f big-file.txt big-file-out.txt
5-
RUN: %run (exit $result)
6+
RUN: (exit $result)

0 commit comments

Comments
 (0)