From 24ff14dc98b83ddc12239a0eae4852c9cd87d41f Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sun, 1 Mar 2020 16:37:10 +0000 Subject: Add a lot of import tests --- dhall/build.rs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'dhall/build.rs') diff --git a/dhall/build.rs b/dhall/build.rs index 2c70b89..6165be2 100644 --- a/dhall/build.rs +++ b/dhall/build.rs @@ -259,6 +259,17 @@ fn generate_tests() -> std::io::Result<()> { || path == "headerForwarding" || path == "noHeaderForwarding" || path == "unit/asLocation/Remote" + || path == "unit/AlternativeChain1" + || path == "unit/AlternativeChain2" + || path == "unit/AlternativeEnv" + || path == "unit/AlternativeHashMismatch" + || path == "unit/AlternativeImportError" + || path == "unit/AlternativeNoError3" + || path == "unit/AlternativeSubExpr" + || path == "unit/AsText" + || path == "unit/EnvSet" + || path == "unit/EnvSetAsText" + || path == "unit/SimpleRemote" }), input_type: FileType::Text, output_type: Some(FileType::Text), @@ -276,6 +287,8 @@ fn generate_tests() -> std::io::Result<()> { || path == "missing" || path == "referentiallyInsane" || path == "customHeadersUsingBoundVariable" + || path == "unit/EnvUnset" + || path == "unit/EnvUnsetAsText" }), input_type: FileType::Text, output_type: Some(FileType::UI), @@ -322,8 +335,9 @@ fn generate_tests() -> std::io::Result<()> { // Too slow, but also not all features implemented // For now needs support for hashed imports || path == "prelude" - // TODO: imports + // TODO: remote imports || path == "CacheImports" + || path == "CacheImportsCanonicalize" }), input_type: FileType::Text, output_type: Some(FileType::Text), -- cgit v1.2.3