File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ all: foo.rs
4
4
$(RUSTC ) --cfg ' feature="bar"' --crate-type lib foo.rs
5
5
$(RUSTDOC ) --test --cfg ' feature="bar"' \
6
6
-L $(TMPDIR ) foo.rs | \
7
- $(CGREP ) ' foo.rs - foo (line 1) ... ok'
7
+ $(CGREP ) ' foo.rs - foo (line 1) - run ... ok'
Original file line number Diff line number Diff line change 3
3
all :
4
4
# check that #[cfg_attr(..., ignore)] does the right thing.
5
5
$(RUSTC ) --test test-ignore-cfg.rs --cfg ignorecfg
6
- $(call RUN,test-ignore-cfg) | $(CGREP ) ' shouldnotignore ... ok' ' shouldignore ... ignored'
6
+ $(call RUN,test-ignore-cfg) | $(CGREP ) ' shouldnotignore - run ... ok' ' shouldignore - ignore ... ignored'
7
7
$(call RUN,test-ignore-cfg --quiet) | $(CGREP ) -e " ^i\.$$ "
8
8
$(call RUN,test-ignore-cfg --quiet) | $(CGREP ) -v ' should'
Original file line number Diff line number Diff line change @@ -2638,7 +2638,7 @@ impl<'test> TestCx<'test> {
2638
2638
let mut tested = 0 ;
2639
2639
for _ in res. stdout . split ( '\n' ) . filter ( |s| s. starts_with ( "test " ) ) . inspect ( |s| {
2640
2640
let tmp: Vec < & str > = s. split ( " - " ) . collect ( ) ;
2641
- if tmp. len ( ) == 2 {
2641
+ if tmp. len ( ) == 3 {
2642
2642
let path = tmp[ 0 ] . rsplit ( "test " ) . next ( ) . unwrap ( ) ;
2643
2643
if let Some ( ref mut v) = files. get_mut ( & path. replace ( '\\' , "/" ) ) {
2644
2644
tested += 1 ;
You can’t perform that action at this time.
0 commit comments