diff --git a/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rc b/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rc deleted file mode 100644 index 55261a820981..000000000000 --- a/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rc +++ /dev/null @@ -1,24 +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 build fancy-lib`: - * testsuite/fancy-lib/build/ exists - * testsuite/fancy-lib/build/ contains a file called generated.rs - * testsuite/fancy-lib/build/ contains a library named libfancy_lib - * testsuite/fancy-lib/build/ does not contain an executable - * -*/ - -extern mod std; - -pub mod foo; -pub mod bar; -#[path = "build/generated.rs"] pub mod generated; diff --git a/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rs b/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rs index 16c384ad8b8c..55261a820981 100644 --- a/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rs +++ b/src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rs @@ -21,4 +21,4 @@ extern mod std; pub mod foo; pub mod bar; -pub mod generated; +#[path = "build/generated.rs"] pub mod generated;