From 1c2f5c7e7c105a9b17684f7cb93645326d668e3c Mon Sep 17 00:00:00 2001 From: hosted-fornet Date: Thu, 5 Sep 2024 16:13:26 -0700 Subject: [PATCH] run-tests: fix test_package_paths for more general paths --- src/run_tests/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run_tests/mod.rs b/src/run_tests/mod.rs index 83556354..cab204fe 100644 --- a/src/run_tests/mod.rs +++ b/src/run_tests/mod.rs @@ -620,7 +620,7 @@ async fn run_tests( "input_node_names": node_names, "test_names": test_package_paths .iter() - .map(|p| p.to_str().unwrap()) + .map(|p| p.file_name().and_then(|s| s.to_str()).unwrap()) .collect::>(), "test_timeout": test_timeout, }