Skip to content

Commit 437d241

Browse files
committed
move tests covering the env:: module into their own directory
1 parent 61be3ba commit 437d241

14 files changed

+4
-3
lines changed

ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ case $HOST_TARGET in
8080
MIRI_TEST_TARGET=i686-unknown-linux-gnu run_tests
8181
MIRI_TEST_TARGET=aarch64-apple-darwin run_tests
8282
MIRI_TEST_TARGET=i686-pc-windows-msvc run_tests
83-
MIRI_TEST_TARGET=x86_64-unknown-freebsd run_tests_minimal hello integer vec current_dir data_race env
83+
MIRI_TEST_TARGET=x86_64-unknown-freebsd run_tests_minimal hello integer vec data_race env/var
8484
MIRI_TEST_TARGET=thumbv7em-none-eabihf MIRI_NO_STD=1 run_tests_minimal no_std # no_std embedded architecture
8585
;;
8686
x86_64-apple-darwin)
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/pass/current_exe.rs renamed to tests/pass/env/current_exe.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//@ignore-target-windows
2+
//@only-on-host: the Linux std implementation opens /proc/self/exe, which doesn't work cross-target
23
//@compile-flags: -Zmiri-disable-isolation
34
use std::env;
45

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)