Skip to content
Permalink
Browse files

Improve code

  • Loading branch information...
GuillaumeGomez committed Mar 6, 2019
1 parent 405d950 commit d6add90c64a27de32a63b933f8f03d0c53fca4d0
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/tools/compiletest/src/runtest.rs
@@ -291,7 +291,8 @@ impl<'test> TestCx<'test> {
fn should_compile_successfully(&self) -> bool {
match self.config.mode {
CompileFail => self.props.compile_pass,
RunPass | JsDocTest => true,
RunPass => true,
JsDocTest => true,
Ui => self.props.compile_pass,
Incremental => {
let revision = self.revision
@@ -2728,6 +2729,8 @@ impl<'test> TestCx<'test> {
if !res.status.success() {
self.fatal_proc_rec("rustdoc-js test failed!", &res);
}
} else {
self.fatal("no nodeJS");
}
}

0 comments on commit d6add90

Please sign in to comment.
You can’t perform that action at this time.