Skip to content

Commit ac4ebb7

Browse files
authored
Merge pull request #4508 from RalfJung/rustup
Rustup
2 parents e31d41b + 764bbc0 commit ac4ebb7

File tree

5 files changed

+6
-2
lines changed

5 files changed

+6
-2
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
733dab558992d902d6d17576de1da768094e2cf3
1+
32e7a4b92b109c24e9822c862a7c74436b50e564

test-cargo-miri/run-test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def cargo_miri(cmd, quiet = True, targets = None):
3737

3838
def normalize_stdout(str):
3939
str = str.replace("src\\", "src/") # normalize paths across platforms
40-
str = re.sub("finished in \\d+\\.\\d\\ds", "finished in $TIME", str) # the time keeps changing, obviously
40+
str = re.sub("\\b\\d+\\.\\d+s\\b", "$TIME", str) # the time keeps changing, obviously
4141
return str
4242

4343
def check_output(actual, path, name):

test-cargo-miri/test.default.stdout.ref

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ running 5 tests
1414
.....
1515
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
1616

17+
all doctests ran in $TIME; merged doctests compilation took $TIME

test-cargo-miri/test.filter.stdout.ref

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ running 0 tests
1515

1616
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in $TIME
1717

18+
all doctests ran in $TIME; merged doctests compilation took $TIME

test-cargo-miri/test.multiple_targets.stdout.ref

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ running 5 tests
2525
.....
2626
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
2727

28+
all doctests ran in $TIME; merged doctests compilation took $TIME
2829

2930
running 5 tests
3031
.....
3132
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
3233

34+
all doctests ran in $TIME; merged doctests compilation took $TIME

0 commit comments

Comments
 (0)