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

1
examples/.gitignore vendored
View File

@@ -1 +0,0 @@
*.exe

View File

@@ -33,19 +33,19 @@ where
#[test] #[test]
fn test_examples_write_c() { 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] #[test]
fn test_examples_irgen() { 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! // TODO: make it work!
#[test] #[test]
#[ignore] #[ignore]
fn test_examples_irparse() { 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] #[test]