diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-07-27 18:16:50 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-07-27 19:04:56 -0700 |
| commit | 51ef7a3676c2665ca41e4ec9f5b43c7a2eb7c6d8 (patch) | |
| tree | ea7536ad91c6b8110f175aad390278c47266d48b | |
| parent | 90a79b99513fbfddfba9e39651db1d72bc171bc3 (diff) | |
| download | rust-51ef7a3676c2665ca41e4ec9f5b43c7a2eb7c6d8.tar.gz rust-51ef7a3676c2665ca41e4ec9f5b43c7a2eb7c6d8.zip | |
Clean up output a bit when running verbose compile tests
| -rw-r--r-- | src/test/compiletest/compiletest.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/test/compiletest/compiletest.rs b/src/test/compiletest/compiletest.rs index 795ab033b05..ddae56e29b7 100644 --- a/src/test/compiletest/compiletest.rs +++ b/src/test/compiletest/compiletest.rs @@ -388,6 +388,10 @@ mod runtest { export run; fn run(cx: &cx, testfile: &str) { + if (cx.config.verbose) { + // We're going to be dumping a lot of info. Start on a new line. + io::stdout().write_str("\n\n"); + } log #fmt("running %s", testfile); task::unsupervise(); let props = load_props(testfile); @@ -523,7 +527,7 @@ mod runtest { let cmdline = { let cmdline = make_cmdline(lib_path, prog, args); - logv(cx.config, #fmt("running %s", cmdline)); + logv(cx.config, #fmt("executing %s", cmdline)); cmdline }; let res = procsrv::run(cx.procsrv, lib_path, prog, args); @@ -562,9 +566,9 @@ mod runtest { fn maybe_dump_to_stdout(config: &config, out: &str, err: &str) { if config.verbose { - let sep1 = #fmt("-%s-----------------------------------", + let sep1 = #fmt("------%s------------------------------", "stdout"); - let sep2 = #fmt("-%s-----------------------------------", + let sep2 = #fmt("------%s------------------------------", "stderr"); let sep3 = "------------------------------------------"; io::stdout().write_line(sep1); |
