From b93268085aab14c80a400c299da5d04d2781098e Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 14 Mar 2021 17:01:25 -0400 Subject: Implement top-level ascription of declarations --- tests/compile.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/compile.rs') 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); -- cgit 1.4.1