summaryrefslogtreecommitdiff
path: root/dhall/build.rs
diff options
context:
space:
mode:
authorNadrieril2020-03-01 18:18:01 +0000
committerNadrieril2020-03-05 15:58:54 +0000
commitdf4495f30708180591b630bb720cfe81ff4118ce (patch)
tree7977c0582cae8b19947c7e89722898faf989b0fd /dhall/build.rs
parentcbc1825313389746f08df5502568b2e13e04790d (diff)
Implement `as Text` imports
Diffstat (limited to 'dhall/build.rs')
-rw-r--r--dhall/build.rs18
1 files changed, 7 insertions, 11 deletions
diff --git a/dhall/build.rs b/dhall/build.rs
index 0ff5acc..29219ff 100644
--- a/dhall/build.rs
+++ b/dhall/build.rs
@@ -249,18 +249,15 @@ fn generate_tests() -> std::io::Result<()> {
too_slow_path: Box::new(|_path: &str| false),
exclude_path: Box::new(|path: &str| {
false
- || path == "alternativeEnvNatural"
- || path == "alternativeEnvSimple"
+ // TODO: import hash
|| path == "alternativeHashMismatch"
+ || path == "hashFromCache"
+ || path == "unit/AlternativeHashMismatch"
+ // TODO: remote imports
|| path == "asLocation"
- || path == "asText"
|| path == "customHeaders"
- || path == "hashFromCache"
|| path == "headerForwarding"
|| path == "noHeaderForwarding"
- || path == "unit/AlternativeHashMismatch"
- || path == "unit/AsText"
- || path == "unit/EnvSetAsText"
|| path == "unit/SimpleRemote"
|| path == "unit/asLocation/Remote"
}),
@@ -274,12 +271,11 @@ fn generate_tests() -> std::io::Result<()> {
too_slow_path: Box::new(|_path: &str| false),
exclude_path: Box::new(|path: &str| {
false
- || path == "alternativeEnv"
- || path == "alternativeEnvMissing"
- || path == "customHeadersUsingBoundVariable"
+ // TODO: import hash
|| path == "hashMismatch"
+ // TODO: remote imports
+ || path == "customHeadersUsingBoundVariable"
|| path == "referentiallyInsane"
- || path == "unit/EnvUnsetAsText"
}),
input_type: FileType::Text,
output_type: Some(FileType::UI),