build: Start running libcore tests
This commit is contained in:
parent
8acae671c7
commit
de4053f473
2 changed files with 31 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue