Reorganize tests

This commit is contained in:
Jeehoon Kang
2020-04-23 23:07:23 +09:00
parent 073a65ae53
commit 7c53818f73
50 changed files with 3 additions and 4 deletions

View File

@@ -33,19 +33,19 @@ where
#[test]
fn test_examples_write_c() {
test_dir(Path::new("examples/"), &OsStr::new("c"), test_write_c);
test_dir(Path::new("examples/c"), &OsStr::new("c"), test_write_c);
}
#[test]
fn test_examples_irgen() {
test_dir(Path::new("examples/"), &OsStr::new("c"), test_irgen);
test_dir(Path::new("examples/c"), &OsStr::new("c"), test_irgen);
}
// TODO: make it work!
#[test]
#[ignore]
fn test_examples_irparse() {
test_dir(Path::new("examples/"), &OsStr::new("c"), test_irparse);
test_dir(Path::new("examples/c"), &OsStr::new("c"), test_irparse);
}
#[test]