about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-25 11:11:21 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-27 15:54:44 -0700
commit15e3ae79360508dc44f428f99bb483038fb2ab1e (patch)
tree51242ae2fd6af2abb879d6f493241397ffb33485 /src/test
parent85b4253bc1946a1e17fe7d93a80fbb5bea96ee27 (diff)
downloadrust-15e3ae79360508dc44f428f99bb483038fb2ab1e.tar.gz
rust-15e3ae79360508dc44f428f99bb483038fb2ab1e.zip
Convert std::os to istrs. Issue #855
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compiletest/runtest.rs2
-rw-r--r--src/test/stdtest/path.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compiletest/runtest.rs b/src/test/compiletest/runtest.rs
index a4e1b26b7ed..314f9677437 100644
--- a/src/test/compiletest/runtest.rs
+++ b/src/test/compiletest/runtest.rs
@@ -252,7 +252,7 @@ fn make_compile_args(config: &config, props: &test_props, testfile: &str) ->
 }
 
 fn make_exe_name(config: &config, testfile: &str) -> str {
-    output_base_name(config, testfile) + os::exec_suffix()
+    output_base_name(config, testfile) + istr::to_estr(os::exec_suffix())
 }
 
 fn make_run_args(config: &config, props: &test_props, testfile: &str) ->
diff --git a/src/test/stdtest/path.rs b/src/test/stdtest/path.rs
index 147e9b29eec..82fe54413d9 100644
--- a/src/test/stdtest/path.rs
+++ b/src/test/stdtest/path.rs
@@ -10,7 +10,7 @@ import std::os;
 fn test() {
     assert (!fs::path_is_absolute(~"test-path"));
 
-    log "Current working directory: " + os::getcwd();
+    log ~"Current working directory: " + os::getcwd();
 
     log fs::make_absolute(~"test-path");
     log fs::make_absolute(~"/usr/bin");