mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +03:00
9f61e542b4
While the discussion about how to refactor test framework is not finished (#1654), make this change: move `rm -rf build` in the beginning of the test. For these reasons: * it is useful to inspect the contents of the `build` directory especially after the test failure * if build crashes mid-test (e.g. process killed), next run should not be affected by the `build` directory from the previous run
10 lines
518 B
Plaintext
10 lines
518 B
Plaintext
rm -rf build
|
|
|
|
echo ":q" | $1 --no-banner --no-color --console-width 0 --log unify.equal:10 --log unify:5 Term.idr \
|
|
| sed -E "s/[0-9]+}/N}/g" | sed -E "s/resolved([0-9]+)/resolvedN/g" \
|
|
| sed -E "s/case in ([0-9]+)/case in N/g" | sed -E "s/[0-9]+:[0-9]+/L:C/g"
|
|
echo ":q" | $1 --no-banner --no-color --console-width 0 --log unify:3 --log elab.ambiguous:5 Vec.idr \
|
|
| sed -E "s/[0-9]+}/N}/g" | sed -E "s/resolved([0-9]+)/resolvedN/g" \
|
|
| sed -E "s/case in ([0-9]+)/case in N/g" | sed -E "s/[0-9]+:[0-9]+/L:C/g"
|
|
|