From bad820a08b9d0b8c772687359f9e3157aaf11d16 Mon Sep 17 00:00:00 2001 From: nils <48135649+Nilstrieb@users.noreply.github.com> Date: Tue, 4 Apr 2023 13:40:46 +0200 Subject: [PATCH] comments --- tests/full_tests.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/full_tests.rs b/tests/full_tests.rs index 26f738a..ed28255 100644 --- a/tests/full_tests.rs +++ b/tests/full_tests.rs @@ -14,6 +14,7 @@ use std::{ use tempfile::TempDir; #[test] +#[cfg_attr(not(unix), ignore = "FIXME: Make this not cursed.")] fn full_tests() -> Result<()> { let path = Path::new(file!()) .canonicalize()? @@ -68,6 +69,7 @@ fn setup_scripts(start_roots: &[String], proj_dir: &Path) -> Result<()> { OUT=$(rg -o "~MINIMIZE-ROOT [\w\-]*" full-tests/ --no-filename --sort path src) python3 -c " +# Get the data from bash by just substituting it in. It works! out = '$OUT' lines = out.split('\n') @@ -78,6 +80,7 @@ for line in lines: name = line.removeprefix('~MINIMIZE-ROOT').strip() found.add(name) + # Pass in the data _from Rust directly_. Beautiful. expected_roots = {{{expected_roots}}} for root in expected_roots: