about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Leibig <brian.leibig@gmail.com>2013-03-01 13:34:12 -0500
committerBrian Anderson <banderson@mozilla.com>2013-03-11 14:09:06 -0700
commit61524251800ba5408166b45ef640f87da965dd73 (patch)
treea10f46bcc4004489f1f730fdd322149901cabafe
parentf1928d8e2c52cef8426a4c438fc050180a96edb6 (diff)
downloadrust-61524251800ba5408166b45ef640f87da965dd73.tar.gz
rust-61524251800ba5408166b45ef640f87da965dd73.zip
More descriptive error messages for debug info tests
-rw-r--r--src/compiletest/runtest.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs
index 0f72f956fa0..a52075cba12 100644
--- a/src/compiletest/runtest.rs
+++ b/src/compiletest/runtest.rs
@@ -276,8 +276,8 @@ fn run_debuginfo_test(config: config, props: TestProps, testfile: &Path) {
             }
         }
         if i != num_check_lines {
-            fatal(fmt!("line not found in debugger output: %s",
-                       props.check_lines[i]));
+            fatal_ProcRes(fmt!("line not found in debugger output: %s"
+                               props.check_lines[i]), ProcRes);
         }
     }
 }