File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 0e4d1fc8cae42e15e00f71d9f439b01bb25a86ae
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
5
- refs/heads/try: c687f6fa92312ef05341f9da2ac261634f44ba56
5
+ refs/heads/try: 727d4c306c0a14f9d80f94231fd0e520f62fe143
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -620,14 +620,8 @@ impl CtxMethods for BuildContext {
620
620
match built_test_in_workspace ( pkgid, workspace) {
621
621
Some ( test_exec) => {
622
622
debug ! ( "test: test_exec = %s" , test_exec. to_str( ) ) ;
623
- let p_output = run:: process_output ( test_exec. to_str ( ) , [ ~"--test"] ) ;
624
- if p_output. status == 0 {
625
- println ( str:: from_utf8 ( p_output. output ) ) ;
626
- }
627
- else {
628
- println ( str:: from_utf8 ( p_output. error ) ) ;
629
- }
630
- os:: set_exit_status ( p_output. status ) ;
623
+ let status = run:: process_status ( test_exec. to_str ( ) , [ ~"--test"] ) ;
624
+ os:: set_exit_status ( status) ;
631
625
}
632
626
None => {
633
627
error ( fmt ! ( "Internal error: test executable for package ID %s in workspace %s \
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ pub struct StdErrLogger;
181
181
impl Logger for StdErrLogger {
182
182
fn log ( & mut self , args : & fmt:: Arguments ) {
183
183
if should_log_console ( ) {
184
- fmt:: writeln ( self as & mut rt:: io:: Writer , args) ;
184
+ fmt:: write ( self as & mut rt:: io:: Writer , args) ;
185
185
}
186
186
}
187
187
}
You can’t perform that action at this time.
0 commit comments