Skip to content

Commit 413e0ba

Browse files
committed
---
yaml --- r: 97790 b: refs/heads/snap-stage3 c: 7fb712e h: refs/heads/master v: v3
1 parent cbb7fae commit 413e0ba

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 0da105a8b7b6b1e0568e8ff20f6ff4b13cc7ecc2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: f7088edc03d96872fb2b83d211969c1fe5c271d8
4+
refs/heads/snap-stage3: 7fb712e269bcb73c5986c90831a43bcd50bd5340
55
refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustpkg/tests.rs

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use extra::getopts::groups::getopts;
2626
use std::run::ProcessOutput;
2727
use installed_packages::list_installed_packages;
2828
use crate_id::{CrateId};
29-
use version::{ExactRevision, NoVersion, Version, Tagged};
29+
use version::{ExactRevision, NoVersion, Version};
3030
use path_util::{target_executable_in_workspace, target_test_in_workspace,
3131
target_bench_in_workspace, make_dir_rwx,
3232
library_in_workspace, installed_library_in_workspace,
@@ -35,7 +35,6 @@ use path_util::{target_executable_in_workspace, target_test_in_workspace,
3535
chmod_read_only, platform_library_name};
3636
use rustc::back::link::get_cc_prog;
3737
use rustc::metadata::filesearch::{rust_path, libdir, rustlibdir};
38-
use rustc::driver::session;
3938
use rustc::driver::driver::{build_session, build_session_options, host_triple, optgroups};
4039
use syntax::diagnostic;
4140
use target::*;
@@ -76,14 +75,6 @@ fn git_repo_pkg() -> CrateId {
7675
}
7776
}
7877

79-
fn git_repo_pkg_with_tag(a_tag: ~str) -> CrateId {
80-
CrateId {
81-
path: Path::new("mockgithub.com/catamorphism/test-pkg"),
82-
short_name: ~"test-pkg",
83-
version: Tagged(a_tag)
84-
}
85-
}
86-
8778
fn writeFile(file_path: &Path, contents: &str) {
8879
let mut out = File::create(file_path);
8980
out.write(contents.as_bytes());
@@ -487,12 +478,6 @@ fn lib_output_file_name(workspace: &Path, short_name: &str) -> Path {
487478
&NoVersion).expect("lib_output_file_name")
488479
}
489480

490-
fn output_file_name(workspace: &Path, short_name: ~str) -> Path {
491-
target_build_dir(workspace).join(short_name.as_slice())
492-
.join(format!("{}{}", short_name,
493-
os::consts::EXE_SUFFIX))
494-
}
495-
496481
#[cfg(target_os = "linux")]
497482
fn touch_source_file(workspace: &Path, crateid: &CrateId) {
498483
use conditions::bad_path::cond;

0 commit comments

Comments
 (0)