diff options
author | Griffin Smith <root@gws.fyi> | 2021-03-14T21·01-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2021-03-14T21·01-0400 |
commit | b93268085aab14c80a400c299da5d04d2781098e (patch) | |
tree | 99e9eefc175a36f3949404daf6c2fe4a49d1e1c1 /tests/compile.rs | |
parent | ecb4c0f803e9b408e4fd21c475769eb4dc649d14 (diff) |
Implement top-level ascription of declarations
Diffstat (limited to 'tests/compile.rs')
-rw-r--r-- | tests/compile.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/compile.rs b/tests/compile.rs index 177391423c7d..7fa15ad9653e 100644 --- a/tests/compile.rs +++ b/tests/compile.rs @@ -8,6 +8,19 @@ const FIXTURES: &[(&str, i32)] = &[("simple", 5), ("functions", 9)]; fn compile_and_run_files() { let ach = root().unwrap().join("ach"); + println!("Running: `make clean`"); + assert!( + Command::new("make") + .arg("clean") + .current_dir(&ach) + .spawn() + .unwrap() + .wait() + .unwrap() + .success(), + "make clean failed" + ); + for (fixture, exit_code) in FIXTURES { println!(">>> Testing: {}", fixture); |