mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-14 22:38:46 +00:00
Reorganize tests
This commit is contained in:
1
examples/.gitignore
vendored
1
examples/.gitignore
vendored
@@ -1 +0,0 @@
|
|||||||
*.exe
|
|
||||||
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user