mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-22 19:21:39 +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
17 lines
772 B
Plaintext
Executable File
17 lines
772 B
Plaintext
Executable File
rm -rf build
|
|
|
|
# @readFilePage@ uses primitive functions with definitions for both
|
|
# C (supported by most backends) and Node.
|
|
$1 --cg chez --no-color --console-width 0 --no-banner ReadFilePage.idr < input
|
|
$1 --cg node --no-color --console-width 0 --no-banner ReadFilePage.idr < input
|
|
|
|
# The following backends failed for reasons unrelated to this test. They can be
|
|
# uncommented at a future date.
|
|
# RACKET failed to find the builtin idris support library
|
|
# $1 --cg racket --no-color --console-width 0 --no-banner ReadFilePage.idr < input
|
|
# REFC doesn't support :exec yet
|
|
# $1 --cg refc --no-color --console-width 0 --no-banner ReadFilePage.idr < input
|
|
# GAMBIT hung seemingly indefinitely
|
|
# $1 --cg gambit --no-color --console-width 0 --no-banner ReadFilePage.idr < input
|
|
|