Skip to content

Commit

Permalink
fix creation of the directory
Browse files Browse the repository at this point in the history
  • Loading branch information
cpetig committed Sep 2, 2024
1 parent ea8ba2d commit 2fbe979
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion crates/cpp/tests/symmetric.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ fn symmetric_integration() -> io::Result<()> {
out_dir.pop();
out_dir.pop();
out_dir.push("symmetric-tests");
if !out_dir.try_exists().unwrap_or(false) {
std::fs::create_dir_all(&out_dir)?;
}

let manifest_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));

Expand All @@ -228,7 +231,12 @@ fn symmetric_integration() -> io::Result<()> {
tester_source_dir.push("tests");
tester_source_dir.push("symmetric_tests");

let testcases = vec![/*"smoke", "strings", "numbers",*/ "lists"];
let testcases = vec![
"smoke",
"strings",
"numbers",
"lists",
];

for dir_name in testcases {
tests(
Expand Down

0 comments on commit 2fbe979

Please sign in to comment.