about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rc24
-rw-r--r--src/librustpkg/testsuite/pass/fancy-lib/fancy-lib.rs2
2 files changed, 1 insertions, 25 deletions
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 55261a82098..00000000000
--- 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 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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 16c384ad8b8..55261a82098 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;