File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -144,10 +144,10 @@ fn command_line_test(args: &[~str], cwd: &Path) -> ProcessOutput {
144144 err_fd : None
145145 } ) ;
146146 let output = prog. finish_with_output ( ) ;
147- io :: println ( fmt ! ( "Output from command %s with args %? was %s {%s}[%?]" ,
147+ debug ! ( "Output from command %s with args %? was %s {%s}[%?]" ,
148148 cmd, args, str :: from_bytes( output. output) ,
149149 str :: from_bytes( output. error) ,
150- output. status) ) ;
150+ output. status) ;
151151/*
152152By the way, rustpkg *won't* return a nonzero exit code if it fails --
153153see #4547
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ pub fn compile_input(ctxt: &Ctx,
187187 Lib => lib_crate,
188188 Test | Bench | Main => bin_crate
189189 } ;
190- let matches = getopts ( ~ [ ~"- Z " , ~"time-passes" ]
190+ let matches = getopts ( debug_flags ( )
191191 + match what {
192192 Lib => ~[ ~"--lib"] ,
193193 // --test compiles both #[test] and #[bench] fns
@@ -415,3 +415,7 @@ mod test {
415415 }
416416
417417}
418+
419+ // tjc: cheesy
420+ fn debug_flags( ) -> ~[ ~str ] { ~[ ] }
421+ // static debug_flags: ~[~str] = ~[~"-Z", ~"time-passes"];
You can’t perform that action at this time.
0 commit comments