File tree Expand file tree Collapse file tree 2 files changed +8
-20
lines changed Expand file tree Collapse file tree 2 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -708,7 +708,7 @@ impl Step for RustdocJSNotStd {
708
708
target : self . target ,
709
709
mode : "js-doc-test" ,
710
710
suite : "rustdoc-js" ,
711
- path : None ,
711
+ path : Some ( "src/test/rustdoc-js" ) ,
712
712
compare_mode : None ,
713
713
} ) ;
714
714
} else {
@@ -1088,6 +1088,13 @@ impl Step for Compiletest {
1088
1088
cmd. arg ( "--llvm-filecheck" )
1089
1089
. arg ( builder. llvm_filecheck ( builder. config . build ) ) ;
1090
1090
1091
+ if mode == "js-doc-test" {
1092
+ // For js-doc-test, a test will remain ignored if the JS file
1093
+ // is modified but the corresponding Rust source is not.
1094
+ // By passing the --ignored flag we force them to still run.
1095
+ cmd. arg ( "--ignored" ) ;
1096
+ }
1097
+
1091
1098
if builder. config . cmd . bless ( ) {
1092
1099
cmd. arg ( "--bless" ) ;
1093
1100
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments