File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Expand file tree Collapse file tree 2 files changed +20
-8
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 : Some ( "src/test/rustdoc-js" ) ,
711
+ path : None ,
712
712
compare_mode : None ,
713
713
} ) ;
714
714
} else {
@@ -1088,13 +1088,6 @@ 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
-
1098
1091
if builder. config . cmd . bless ( ) {
1099
1092
cmd. arg ( "--bless" ) ;
1100
1093
}
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ if [[ $# -lt 1 ]]
4
+ then
5
+ echo " Usage: $0 <toolchain> (e.g. x86_64-apple-darwin)"
6
+ exit
7
+ fi
8
+
9
+ for test_name in \
10
+ ' basic' ' exact-match' ' module-substring' \
11
+ ' search-short-types' ' substring'
12
+ do
13
+ echo " Checking '$test_name '..."
14
+ build/$1 /stage1/bin/rustdoc \
15
+ -o src/test/rustdoc-js/$test_name \
16
+ src/test/rustdoc-js/$test_name .rs
17
+ node src/tools/rustdoc-js/tester.js src/test/rustdoc-js $test_name
18
+ rm -rf src/test/rustdoc-js/$test_name
19
+ done
You can’t perform that action at this time.
0 commit comments