Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix casm test failures due to concurrent calls to setCurrentDir (#2706)
See test failure: https://github.com/anoma/juvix/actions/runs/8466758094/job/23196216342 ``` Test030: Ackermann function (higher-order definition): FAIL (7.40s) Translate to JuvixCore (6.92s) Translate to CASM (0.06s) Pretty print (0.15s) Interpret (0.12s) Compare expected and actual program output Check run_cairo_vm.sh is on path Serialize to Cairo bytecode Run Cairo VM (0.14s) /tmp/tmp-60ba562ca9d8f9b5: changeWorkingDirectory: does not exist (No such file or directory) Use -p '/Juvix to CASM positive tests (no optimization).Test030: Ackermann function (higher-order definition)/' to rerun this test only. ``` `setCurrentDir` cannot be used because tests are run at the same time on different threads. This PR removes `setCurrentDir` and instead passes the CWD directly to the `proc` call.
- Loading branch information