Idris2/tests/base/system_time001/run
2023-09-07 14:57:22 +01:00

16 lines
595 B
Plaintext
Executable File

. ../../testutils.sh
# @time@ uses a primitive function with definitions for both
# C (supported by most backends) and Javascript (Node & Browsers).
idris2 --cg chez Time.idr < input
idris2 --cg node Time.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
# idris2 --cg racket ReadFilePage.idr < input
# REFC doesn't support :exec yet
# idris2 --cg refc ReadFilePage.idr < input
# GAMBIT hung seemingly indefinitely
# idris2 --cg gambit ReadFilePage.idr < input