about summary refs log tree commit diff
path: root/tests/compile.rs
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2021-03-14T21·01-0400
committerGriffin Smith <root@gws.fyi>2021-03-14T21·01-0400
commitb93268085aab14c80a400c299da5d04d2781098e (patch)
tree99e9eefc175a36f3949404daf6c2fe4a49d1e1c1 /tests/compile.rs
parentecb4c0f803e9b408e4fd21c475769eb4dc649d14 (diff)
Implement top-level ascription of declarations
Diffstat (limited to 'tests/compile.rs')
-rw-r--r--tests/compile.rs13
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);