summaryrefslogtreecommitdiff
path: root/dhall/build.rs
diff options
context:
space:
mode:
authorNadrieril2020-03-01 16:37:10 +0000
committerNadrieril2020-03-05 15:58:54 +0000
commit24ff14dc98b83ddc12239a0eae4852c9cd87d41f (patch)
tree494279e9ae81be144d7eb3834e6080a7819aea47 /dhall/build.rs
parente277fb2f7316fef5c20e7c485eeba1f14328d621 (diff)
Add a lot of import tests
Diffstat (limited to '')
-rw-r--r--dhall/build.rs16
1 files changed, 15 insertions, 1 deletions
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),