From 8abb4843a4d0fd62a70fc704f894b76b52d40c9b Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sun, 12 May 2019 19:06:32 +0200 Subject: Split-off printer and binary encoding tests from parser tests --- dhall/build.rs | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'dhall/build.rs') diff --git a/dhall/build.rs b/dhall/build.rs index 3548d33..d28239d 100644 --- a/dhall/build.rs +++ b/dhall/build.rs @@ -85,6 +85,32 @@ fn main() -> std::io::Result<()> { |path| { // Too slow in debug mode path == "success/largeExpression" + }, + )?; + + make_test_module( + &mut file, + "printer", + &tests_dir.join("parser/"), + "Printer", + |path| { + // Failure tests are only for the parser + path.starts_with("failure/") + // Too slow in debug mode + || path == "success/largeExpression" + }, + )?; + + make_test_module( + &mut file, + "binary_encoding", + &tests_dir.join("parser/"), + "BinaryEncoding", + |path| { + // Failure tests are only for the parser + path.starts_with("failure/") + // Too slow in debug mode + || path == "success/largeExpression" // Fails binary encoding || path == "success/multilet" || path == "success/double" -- cgit v1.2.3