summaryrefslogtreecommitdiffstatshomepage
path: root/ci/compat.sh
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2023-05-02 10:51:59 +0200
committerManlio Perillo <manlio.perillo@gmail.com>2023-05-02 11:13:25 +0200
commit74b48192e4ab3f9b8dbc5ac1e40f295f88a976d8 (patch)
tree71e284b513bb7bb18f396a5afb2af6098ea6b606 /ci/compat.sh
parentf9aec283c80acb969bb7e2cf4662ef7ad252b831 (diff)
test: don't run heal during configuration phase
In order to simplify the code, the heal function is called during the configuration phase, thus resulting in the function being always called when the build.zig file is run. This behavior unfortunately causes a serious issue when the user fix a broken exercise and, during the next step, the heal function tries to heal the fixed exercise resulting in GNU patch assuming an attempt to reverse a patch, waiting for input from the terminal. Run the heal function from the new HealStep step, so that it is called only during tests. Rename the outdir constant to work_path, for consistency with build.zig. Fixes #272
Diffstat (limited to 'ci/compat.sh')
0 files changed, 0 insertions, 0 deletions