From 5421bc294268d4cb24c036710f60adeeae1ed1c9 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Wed, 15 May 2013 15:59:58 -0700 Subject: rustpkg: Reorganize test files --- .../pass/src/deeply/nested/path/foo/main.rs | 17 +++++++++++++++++ .../pass/src/deeply/nested/path/foo/src/main.rs | 17 ----------------- .../testsuite/pass/src/external-crate/main.rs | 21 +++++++++++++++++++++ .../testsuite/pass/src/external-crate/src/main.rs | 21 --------------------- 4 files changed, 38 insertions(+), 38 deletions(-) create mode 100644 src/librustpkg/testsuite/pass/src/deeply/nested/path/foo/main.rs delete mode 100644 src/librustpkg/testsuite/pass/src/deeply/nested/path/foo/src/main.rs create mode 100644 src/librustpkg/testsuite/pass/src/external-crate/main.rs delete mode 100644 src/librustpkg/testsuite/pass/src/external-crate/src/main.rs (limited to 'src/librustpkg') diff --git a/src/librustpkg/testsuite/pass/src/deeply/nested/path/foo/main.rs b/src/librustpkg/testsuite/pass/src/deeply/nested/path/foo/main.rs new file mode 100644 index 00000000000..62785c06db3 --- /dev/null +++ b/src/librustpkg/testsuite/pass/src/deeply/nested/path/foo/main.rs @@ -0,0 +1,17 @@ +// Copyright 2013 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +/* +The test runner should check that, after `rustpkg install deeply/nested/path/foo`: + with RUST_PATH undefined in the environment: + * ./deeply/nested/path/foo exists and is an executable +*/ + +fn main() {} diff --git a/src/librustpkg/testsuite/pass/src/deeply/nested/path/foo/src/main.rs b/src/librustpkg/testsuite/pass/src/deeply/nested/path/foo/src/main.rs deleted file mode 100644 index 62785c06db3..00000000000 --- a/src/librustpkg/testsuite/pass/src/deeply/nested/path/foo/src/main.rs +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2013 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -/* -The test runner should check that, after `rustpkg install deeply/nested/path/foo`: - with RUST_PATH undefined in the environment: - * ./deeply/nested/path/foo exists and is an executable -*/ - -fn main() {} diff --git a/src/librustpkg/testsuite/pass/src/external-crate/main.rs b/src/librustpkg/testsuite/pass/src/external-crate/main.rs new file mode 100644 index 00000000000..d094bcd6bba --- /dev/null +++ b/src/librustpkg/testsuite/pass/src/external-crate/main.rs @@ -0,0 +1,21 @@ +// Copyright 2013 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +/* +The test runner should check that, after `rustpkg install external crate` + with RUST_PATH undefined in the environment + and with `rustpkg install deeply/nested/path/foo` already + executed: + * ./.rust/external_crate exists and is an executable +*/ + +extern mod foo; // refers to deeply/nested/path/foo + +fn main() {} diff --git a/src/librustpkg/testsuite/pass/src/external-crate/src/main.rs b/src/librustpkg/testsuite/pass/src/external-crate/src/main.rs deleted file mode 100644 index d094bcd6bba..00000000000 --- a/src/librustpkg/testsuite/pass/src/external-crate/src/main.rs +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2013 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -/* -The test runner should check that, after `rustpkg install external crate` - with RUST_PATH undefined in the environment - and with `rustpkg install deeply/nested/path/foo` already - executed: - * ./.rust/external_crate exists and is an executable -*/ - -extern mod foo; // refers to deeply/nested/path/foo - -fn main() {} -- cgit 1.4.1-3-g733a5