about summary refs log tree commit diff
path: root/src/test/stdtest
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-07-06 14:33:36 -0700
committerBrian Anderson <banderson@mozilla.com>2011-07-06 14:39:40 -0700
commit2f7bc90514c650fca4947835998458c56439cf33 (patch)
treee205d1049f35a9e2c1dbe7f0f6b845b8b9710eb5 /src/test/stdtest
parentb06ccb45abb5c9ea0b55c8ff8a32831188c2403f (diff)
downloadrust-2f7bc90514c650fca4947835998458c56439cf33.tar.gz
rust-2f7bc90514c650fca4947835998458c56439cf33.zip
Add a stdtest crate to hold the standard library tests
This will link to std and compile with the --test flag. Eventually the
run-pass/lib* tests will move here.

We could also put the std tests directly into the library and compile both a
library version and a test version, but I think this way will make for faster
builds.

Issue #428
Diffstat (limited to 'src/test/stdtest')
-rw-r--r--src/test/stdtest/stdtest.rc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/stdtest/stdtest.rc b/src/test/stdtest/stdtest.rc
new file mode 100644
index 00000000000..07dd277d18c
--- /dev/null
+++ b/src/test/stdtest/stdtest.rc
@@ -0,0 +1,10 @@
+use std;
+
+// Local Variables:
+// mode: rust
+// fill-column: 78;
+// indent-tabs-mode: nil
+// c-basic-offset: 4
+// buffer-file-coding-system: utf-8-unix
+// compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
+// End: