build: Start running libcore tests

This commit is contained in:
Brian Anderson 2012-01-17 16:45:22 -08:00
parent 8acae671c7
commit de4053f473
2 changed files with 31 additions and 0 deletions

View file

@ -25,4 +25,11 @@ mod core {
const warn : u32 = 1_u32;
const info : u32 = 2_u32;
const debug : u32 = 3_u32;
}
// Similar to above. Some magic to make core testable.
#[cfg(test)]
mod std {
use std;
import std::test;
}