Skip to content

Commit c57505e

Browse files
committed
---
yaml --- r: 5629 b: refs/heads/master c: 196cc6d h: refs/heads/master i: 5627: 7d32cd2 v: v3
1 parent d80027d commit c57505e

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

[refs]

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: b61e17bdfd5de3546d756cf3cc0e91fbb3c0ef0f
2+
refs/heads/master: 196cc6de2e517d4a265990409132e6064e487f4f

trunk/src/test/compiletest/util.rs

+10-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ fn make_new_path(path: str) -> str {
1010
// Windows just uses PATH as the library search path, so we have to
1111
// maintain the current value while adding our own
1212
alt getenv(lib_path_env_var()) {
13-
option::some(curr) { #fmt["%s:%s", path, curr] }
13+
option::some(curr) {
14+
#fmt["%s%s%s", path, path_div(), curr]
15+
}
1416
option::none. { path }
1517
}
1618
}
@@ -24,6 +26,13 @@ fn lib_path_env_var() -> str { "DYLD_LIBRARY_PATH" }
2426
#[cfg(target_os = "win32")]
2527
fn lib_path_env_var() -> str { "PATH" }
2628

29+
#[cfg(target_os = "linux")]
30+
#[cfg(target_os = "macos")]
31+
fn path_div() -> str { ":" }
32+
33+
#[cfg(target_os = "win32")]
34+
fn path_div() -> str { ";" }
35+
2736
fn logv(config: config, s: str) {
2837
log s;
2938
if config.verbose { io::stdout().write_line(s); }

0 commit comments

Comments
 (0)