mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 12:14:26 +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
8 lines
138 B
Plaintext
Executable File
8 lines
138 B
Plaintext
Executable File
rm -rf build
|
|
|
|
mkdir -p build/ttc
|
|
echo "TT2This Is A Fake TTC" > build/ttc/Fake.ttc
|
|
|
|
$1 --no-color --console-width 0 --check TestFake.idr
|
|
|