We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1b654f commit b843de6Copy full SHA for b843de6
test-cargo-miri/run-test.py
@@ -7,6 +7,10 @@
7
8
import sys, subprocess, os
9
10
+CGREEN = '\33[32m'
11
+CBOLD = '\33[1m'
12
+CEND = '\33[0m'
13
+
14
def fail(msg):
15
print("\nTEST FAIL: {}".format(msg))
16
sys.exit(1)
@@ -67,6 +71,9 @@ def test_cargo_miri_test():
67
71
68
72
os.chdir(os.path.dirname(os.path.realpath(__file__)))
69
73
74
+target_str = " for target {}".format(os.environ['MIRI_TEST_TARGET']) if 'MIRI_TEST_TARGET' in os.environ else ""
75
+print(CGREEN + CBOLD + "## Running `cargo miri` tests{}".format(target_str) + CEND)
76
70
77
if not 'MIRI_SYSROOT' in os.environ:
78
# Make sure we got a working sysroot.
79
# (If the sysroot gets built later when output is compared, that leads to test failures.)
0 commit comments