Skip to content

Commit

Permalink
Fix rustpkg tests now that they're in a different location
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed May 14, 2013
1 parent 8b87fd7 commit 2ab1da5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/librustpkg/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ fn is_rwx(p: &Path) -> bool {

fn test_sysroot() -> Path {
// Totally gross hack but it's just for test cases.
// Infer the sysroot from the exe name and tack "stage2"
// onto it. (Did I mention it was a gross hack?)
// Infer the sysroot from the exe name and pray that it's right.
// (Did I mention it was a gross hack?)
let self_path = os::self_exe_path().expect("Couldn't get self_exe path");
self_path.pop().push("stage2")
self_path.pop()
}

#[test]
Expand Down

5 comments on commit 2ab1da5

@bors
Copy link
Contributor

@bors bors commented on 2ab1da5 May 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from bstrie
at alexcrichton@2ab1da5

@bors
Copy link
Contributor

@bors bors commented on 2ab1da5 May 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging alexcrichton/rust/better-rusti = 2ab1da5 into auto

@bors
Copy link
Contributor

@bors bors commented on 2ab1da5 May 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alexcrichton/rust/better-rusti = 2ab1da5 merged ok, testing candidate = 06c46d5

@bors
Copy link
Contributor

@bors bors commented on 2ab1da5 May 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 2ab1da5 May 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = 06c46d5

Please sign in to comment.