File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -2648,6 +2648,17 @@ fn generate_good_d_files() {
2648
2648
2649
2649
println ! ( "*.d file content*: {}" , & dot_d) ;
2650
2650
2651
+ #[ cfg( windows) ]
2652
+ assert ! (
2653
+ lines_match(
2654
+ "[..]\\ target\\ debug\\ meow.exe: [..]\\ awoo\\ barkbarkbark [..]\\ awoo\\ build.rs[..]" ,
2655
+ & dot_d
2656
+ ) || lines_match(
2657
+ "[..]\\ target\\ debug\\ meow.exe: [..]\\ awoo\\ build.rs [..]\\ awoo\\ barkbarkbark[..]" ,
2658
+ & dot_d
2659
+ )
2660
+ ) ;
2661
+ #[ cfg( not( windows) ) ]
2651
2662
assert ! (
2652
2663
lines_match(
2653
2664
"[..]/target/debug/meow: [..]/awoo/barkbarkbark [..]/awoo/build.rs[..]" ,
@@ -2676,6 +2687,17 @@ fn generate_good_d_files() {
2676
2687
2677
2688
println ! ( "*.d file content with dep-info-basedir*: {}" , & dot_d) ;
2678
2689
2690
+ #[ cfg( windows) ]
2691
+ assert ! (
2692
+ lines_match(
2693
+ "target\\ debug\\ meow.exe: [..]awoo\\ barkbarkbark [..]awoo\\ build.rs[..]" ,
2694
+ & dot_d
2695
+ ) || lines_match(
2696
+ "target\\ debug\\ meow.exe: [..]awoo\\ build.rs [..]awoo\\ barkbarkbark[..]" ,
2697
+ & dot_d
2698
+ )
2699
+ ) ;
2700
+ #[ cfg( not( windows) ) ]
2679
2701
assert ! (
2680
2702
lines_match(
2681
2703
"target/debug/meow: [..]awoo/barkbarkbark [..]awoo/build.rs[..]" ,
You can’t perform that action at this time.
0 commit comments