2023-08-29 13:47:42 +03:00
|
|
|
. ../../testutils.sh
|
2021-07-14 00:54:53 +03:00
|
|
|
|
2021-02-18 14:13:25 +03:00
|
|
|
# @readFilePage@ uses primitive functions with definitions for both
|
|
|
|
# C (supported by most backends) and Node.
|
2023-08-29 13:47:42 +03:00
|
|
|
idris2 --cg chez ReadFilePage.idr < input
|
|
|
|
idris2 --cg node ReadFilePage.idr < input
|
2021-02-18 14:13:25 +03:00
|
|
|
|
|
|
|
# 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
|
2023-08-29 13:47:42 +03:00
|
|
|
# idris2 --cg racket ReadFilePage.idr < input
|
2021-02-18 14:13:25 +03:00
|
|
|
# REFC doesn't support :exec yet
|
2023-08-29 13:47:42 +03:00
|
|
|
# idris2 --cg refc ReadFilePage.idr < input
|
2021-02-18 14:13:25 +03:00
|
|
|
# GAMBIT hung seemingly indefinitely
|
2023-08-29 13:47:42 +03:00
|
|
|
# idris2 --cg gambit ReadFilePage.idr < input
|