+ test("cargo miri test (without isolation)",
+ cargo_miri("test") + ["--", "--format=pretty", "num_cpus"],
+ "test.stdout.ref3", "test.stderr.ref",
+ env={'MIRIFLAGS': "-Zmiri-disable-isolation"},
+ )
+ test("cargo miri test (test target)",
+ cargo_miri("test") + ["--test", "test", "--", "--format=pretty"],
+ "test.stdout.ref4", "test.stderr.ref"
+ )
+ test("cargo miri test (bin target)",
+ cargo_miri("test") + ["--bin", "cargo-miri-test", "--", "--format=pretty"],
+ "test.stdout.ref5", "test.stderr.ref"
+ )
+
+os.chdir(os.path.dirname(os.path.realpath(__file__)))