[fuzzer][test] Avoid big-file-copy.test on memory constrained devices
authorRoy Sundahl <rsundahl@apple.com>
Tue, 4 Apr 2023 05:10:26 +0000 (22:10 -0700)
committerRoy Sundahl <rsundahl@apple.com>
Tue, 4 Apr 2023 18:02:53 +0000 (11:02 -0700)
commit5c950a3127da7c4121da75df9751208ba2aa9cad
tree71c5ce0bc36214249bf5f4981af31f226f08aed3
parent461a559bc9bd755436ba8f12f8b74757e03f9b9f
[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
compiler-rt/test/fuzzer/big-file-copy.test