Add testing utilities script

This commit is contained in:
Robert Wright 2023-08-29 11:47:42 +01:00 committed by G. Allais
parent c52b029986
commit 09466a96bb
757 changed files with 1879 additions and 2215 deletions

View File

@ -1,6 +1,5 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 "Module'.idr" < input
$1 --exec main "Module'.idr"
EDITOR=true $1 --no-banner --no-color --console-width 0 "Module'.idr" < input-ed
idris2 "Module'.idr" < input
run "Module'.idr"
EDITOR=true idris2 "Module'.idr" < input-ed

View File

@ -1,5 +1,4 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 Issue735.idr < input
$1 --exec main Issue735.idr
idris2 Issue735.idr < input
run Issue735.idr

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --exec main Issue1200.idr
run Issue1200.idr

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --exec main Issue2362.idr
run Issue2362.idr

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --exec main Issue775.idr
run Issue775.idr

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --exec main Test.idr run Test.idr

View File

@ -1 +1,3 @@
$1 --no-banner --no-color --console-width 0 Main.idr --exec main . ../../testutils.sh
run Main.idr

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 Main.idr --exec main run Main.idr

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 Main.idr --exec main run Main.idr

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 Main.idr --exec main run Main.idr

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 Main.idr --exec main run Main.idr

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 Main.idr --exec main run Main.idr

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --exec main CastStringDouble.idr run CastStringDouble.idr

View File

@ -1,13 +1,13 @@
rm -rf build . ../../testutils.sh
# observe that errors are correctly reported as zero. # observe that errors are correctly reported as zero.
$1 --exec main TermSize.idr </dev/null run TermSize.idr </dev/null
# The following should report True True, but the ci scripts don't # The following should report True True, but the ci scripts don't
# provide a terminal # provide a terminal
# $1 --exec main TermSize.idr # run TermSize.idr
# The following should also report True True if the output is a terminal, # The following should also report True True if the output is a terminal,
# but the testing framework redirects output. # but the testing framework redirects output.
# idris2 --exec main tests/allschemes/scheme002/TermSize.idr </dev/null # run tests/allschemes/scheme002/TermSize.idr </dev/null

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner TestException.idr < input
idris2 TestException.idr < input

View File

@ -1,6 +1,5 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner -c SearchReader.idr
$1 --no-color --console-width 0 --no-banner -c SearchWriter.idr
$1 --no-color --console-width 0 --no-banner -c SearchState.idr
check SearchReader.idr
check SearchWriter.idr
check SearchState.idr

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 BitOps.idr < input
idris2 BitOps.idr < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 BitRotate.idr < input
idris2 BitRotate.idr < input

View File

@ -1,5 +1,5 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 --check fromInteger.idr check fromInteger.idr
$1 --no-banner --no-color --console-width 0 Num.idr -x main run Num.idr
$1 --no-banner --no-color --console-width 0 performance.idr -x main run performance.idr

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner Integral.idr < input idris2 Integral.idr < input

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 List.idr < input idris2 List.idr < input

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 --exec main Prefix.idr run Prefix.idr

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner -c RLE.idr check RLE.idr

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 SL.idr -x main run SL.idr

View File

@ -1,3 +1,3 @@
$1 --no-banner --no-color --console-width 0 -c StringReduce.idr . ../../testutils.sh
rm -rf build check StringReduce.idr

View File

@ -1,3 +1,3 @@
$1 --no-banner --no-color --console-width 0 Lines.idr < input . ../../testutils.sh
rm -rf build idris2 Lines.idr < input

View File

@ -1,3 +1,3 @@
$1 --no-banner --no-color --console-width 0 -c StringParse.idr . ../../testutils.sh
rm -rf build check StringParse.idr

View File

@ -1,3 +1,3 @@
$1 --no-banner --no-color --console-width 0 Unlines.idr < input . ../../testutils.sh
rm -rf build idris2 Unlines.idr < input

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 Vect.idr < input idris2 Vect.idr < input

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner -c DeriveFoldable.idr check DeriveFoldable.idr

View File

@ -1,4 +1,4 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner -c DeriveFunctor.idr check DeriveFunctor.idr
$1 --no-color --console-width 0 --no-banner -c Search.idr check Search.idr

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner DeriveShow.idr < input idris2 DeriveShow.idr < input

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner -c DeriveTraversable.idr check DeriveTraversable.idr

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner ReadDir.idr < input idris2 ReadDir.idr < input

View File

@ -1,11 +1,9 @@
rm -rf build . ../../testutils.sh
# @getEnv@ and @setEnv@ use primitive functions with definitions for both # @getEnv@ and @setEnv@ use primitive functions with definitions for both
# C (supported by most backends) and Node. # C (supported by most backends) and Node.
$1 --cg chez -o test Test.idr idris2 --cg chez -o test Test.idr
HELLO=hi ./build/exec/test HELLO=hi ./build/exec/test
rm -rf ./build idris2 --cg node -o test.js Test.idr
$1 --cg node -o test.js Test.idr
HELLO=hi node ./build/exec/test.js HELLO=hi node ./build/exec/test.js

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 Test.idr < input
idris2 Test.idr < input

View File

@ -1,16 +1,15 @@
rm -rf build . ../../testutils.sh
# @readFilePage@ uses primitive functions with definitions for both # @readFilePage@ uses primitive functions with definitions for both
# C (supported by most backends) and Node. # C (supported by most backends) and Node.
$1 --cg chez --no-color --console-width 0 --no-banner ReadFilePage.idr < input idris2 --cg chez ReadFilePage.idr < input
$1 --cg node --no-color --console-width 0 --no-banner ReadFilePage.idr < input idris2 --cg node ReadFilePage.idr < input
# The following backends failed for reasons unrelated to this test. They can be # The following backends failed for reasons unrelated to this test. They can be
# uncommented at a future date. # uncommented at a future date.
# RACKET failed to find the builtin idris support library # RACKET failed to find the builtin idris support library
# $1 --cg racket --no-color --console-width 0 --no-banner ReadFilePage.idr < input # idris2 --cg racket ReadFilePage.idr < input
# REFC doesn't support :exec yet # REFC doesn't support :exec yet
# $1 --cg refc --no-color --console-width 0 --no-banner ReadFilePage.idr < input # idris2 --cg refc ReadFilePage.idr < input
# GAMBIT hung seemingly indefinitely # GAMBIT hung seemingly indefinitely
# $1 --cg gambit --no-color --console-width 0 --no-banner ReadFilePage.idr < input # idris2 --cg gambit ReadFilePage.idr < input

View File

@ -1,6 +1,6 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner CopyFile.idr < input idris2 CopyFile.idr < input
base64 -i dest.bin base64 -i dest.bin
rm dest.bin rm dest.bin

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner ReadFile.idr < input idris2 ReadFile.idr < input

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner Popen.idr < input idris2 Popen.idr < input

View File

@ -1,11 +1,11 @@
rm -rf build . ../../testutils.sh
# @removeFile@ uses primitive functions with definitions for both # @removeFile@ uses primitive functions with definitions for both
# C (supported by most backends) and Node. # C (supported by most backends) and Node.
$1 --cg chez -o test Test.idr idris2 --cg chez -o test Test.idr
./build/exec/test ./build/exec/test
rm -rf ./build . ../../testutils.sh
$1 --cg node -o test.js Test.idr idris2 --cg node -o test.js Test.idr
node ./build/exec/test.js node ./build/exec/test.js

View File

@ -1,4 +1,4 @@
rm -rf build . ../../testutils.sh
rm -f expected rm -f expected
@ -9,5 +9,4 @@ fi
echo "$NProcs processors" > expected echo "$NProcs processors" > expected
$1 --no-banner --no-color --console-width 0 NumProcessors.idr --exec main run NumProcessors.idr

View File

@ -1,4 +1,4 @@
rm -rf build . ../../testutils.sh
case "$(uname)" in case "$(uname)" in
Linux*) EXPECTED_OS=unix ;; Linux*) EXPECTED_OS=unix ;;
@ -12,5 +12,4 @@ case "$(uname)" in
esac esac
export EXPECTED_OS export EXPECTED_OS
$1 --no-banner --no-color --console-width 0 Os.idr --exec main run Os.idr

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner Run.idr < input idris2 Run.idr < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner IgnoreSignal.idr < input
idris2 IgnoreSignal.idr < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner HandleSignal.idr < input
idris2 HandleSignal.idr < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner DefaultSignal.idr < input 2> /dev/null
idris2 DefaultSignal.idr < input 2> /dev/null

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner HandleManySignals.idr < input
idris2 HandleManySignals.idr < input

View File

@ -1,11 +1,11 @@
rm -rf build . ../../testutils.sh
# @system@ uses primitive functions with definitions for both # @system@ uses primitive functions with definitions for both
# C (supported by most backends) and Node. # C (supported by most backends) and Node.
$1 --cg chez -o test Test.idr idris2 --cg chez -o test Test.idr
./build/exec/test ./build/exec/test
rm -rf ./build . ../../testutils.sh
$1 --cg node -o test.js Test.idr idris2 --cg node -o test.js Test.idr
node ./build/exec/test.js node ./build/exec/test.js

View File

@ -1,16 +1,15 @@
rm -rf build . ../../testutils.sh
# @time@ uses a primitive function with definitions for both # @time@ uses a primitive function with definitions for both
# C (supported by most backends) and Javascript (Node & Browsers). # C (supported by most backends) and Javascript (Node & Browsers).
$1 --cg chez --no-color --console-width 0 --no-banner Time.idr < input idris2 --cg chez Time.idr < input
$1 --cg node --no-color --console-width 0 --no-banner Time.idr < input idris2 --cg node Time.idr < input
# The following backends failed for reasons unrelated to this test. They can be # The following backends failed for reasons unrelated to this test. They can be
# uncommented at a future date. # uncommented at a future date.
# RACKET failed to find the builtin idris support library # RACKET failed to find the builtin idris support library
# $1 --cg racket --no-color --console-width 0 --no-banner ReadFilePage.idr < input # idris2 --cg racket ReadFilePage.idr < input
# REFC doesn't support :exec yet # REFC doesn't support :exec yet
# $1 --cg refc --no-color --console-width 0 --no-banner ReadFilePage.idr < input # idris2 --cg refc ReadFilePage.idr < input
# GAMBIT hung seemingly indefinitely # GAMBIT hung seemingly indefinitely
# $1 --cg gambit --no-color --console-width 0 --no-banner ReadFilePage.idr < input # idris2 --cg gambit ReadFilePage.idr < input

View File

@ -1 +1,3 @@
$1 --no-banner --no-color --console-width 0 --cg chez Main.idr --exec main . ../../testutils.sh
run --cg chez Main.idr

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 BitOps.idr < input
idris2 BitOps.idr < input

View File

@ -1,4 +1,4 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 --exec main Main.idr run Main.idr
rm tmp.bin rm tmp.bin

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 Casts.idr < input
idris2 Casts.idr < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner Total.idr < input
idris2 Total.idr < input

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner Pythag.idr < input idris2 Pythag.idr < input

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner IORef.idr < input idris2 IORef.idr < input

View File

@ -1,2 +1,4 @@
$1 --no-color --console-width 0 -p contrib --no-banner Buffer.idr < input . ../../testutils.sh
idris2 -p contrib Buffer.idr < input
rm -rf build test.buf rm -rf build test.buf

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner Filter.idr < input
idris2 Filter.idr < input

View File

@ -1,5 +1,4 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner TypeCase.idr < input
$1 --no-color --console-width 0 --no-banner TypeCase2.idr --check
idris2 TypeCase.idr < input
check TypeCase2.idr

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner TypeCase.idr < input
idris2 TypeCase.idr < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner Nat.idr < input
idris2 Nat.idr < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner uni.idr < input
idris2 uni.idr < input

View File

@ -1,3 +1,5 @@
. ../../testutils.sh
case $(uname -s) in case $(uname -s) in
OpenBSD | FreeBSD | NetBSD) OpenBSD | FreeBSD | NetBSD)
MAKE=gmake MAKE=gmake
@ -9,6 +11,5 @@ case $(uname -s) in
esac esac
${MAKE} all > /dev/null ${MAKE} all > /dev/null
$1 --no-color --console-width 0 --no-banner CB.idr < input idris2 CB.idr < input
rm -rf build
${MAKE} clean > /dev/null ${MAKE} clean > /dev/null

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner bangs.idr < input
idris2 bangs.idr < input

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner array.idr < input idris2 array.idr < input

View File

@ -1,3 +1,5 @@
. ../../testutils.sh
case $(uname -s) in case $(uname -s) in
OpenBSD | FreeBSD | NetBSD) OpenBSD | FreeBSD | NetBSD)
MAKE=gmake MAKE=gmake
@ -9,6 +11,5 @@ case $(uname -s) in
esac esac
${MAKE} all > /dev/null ${MAKE} all > /dev/null
$1 --no-color --console-width 0 --no-banner Struct.idr < input idris2 Struct.idr < input
rm -rf build
${MAKE} clean > /dev/null ${MAKE} clean > /dev/null

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner -p network Echo.idr < input
idris2 -p network Echo.idr < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner Numbers.idr < input
idris2 Numbers.idr < input

View File

@ -1,4 +1,5 @@
cd "folder with spaces" || exit . ../../testutils.sh
rm -rf build
$1 --no-color --console-width 0 --no-banner Main.idr < ../input cd "folder with spaces" || exit
idris2 Main.idr < ../input

View File

@ -1,4 +1,6 @@
. ../../testutils.sh
./gen_expected.sh ./gen_expected.sh
$1 --no-color --console-width 0 --no-banner dir.idr < input idris2 dir.idr < input
cat testdir/test.txt cat testdir/test.txt
rm -rf build testdir rm -rf testdir

View File

@ -1,3 +1,5 @@
$1 --no-color --console-width 0 --no-banner File.idr < input . ../../testutils.sh
idris2 File.idr < input
rm -rf build testout.txt rm -rf build testout.txt

View File

@ -1,3 +1,5 @@
$1 --no-color --console-width 0 --no-banner partial.idr < input . ../../testutils.sh
idris2 partial.idr < input
rm -rf build testout.txt rm -rf build testout.txt

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
POPEN_CMD="$1 --version" $1 --no-color --console-width 0 --no-banner Popen.idr < input
POPEN_CMD="$idris2 --version" idris2 Popen.idr < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner Bits.idr < input
idris2 Bits.idr < input

View File

@ -1,3 +1,5 @@
. ../../testutils.sh
case $(uname -s) in case $(uname -s) in
OpenBSD | FreeBSD | NetBSD) OpenBSD | FreeBSD | NetBSD)
MAKE=gmake MAKE=gmake
@ -9,6 +11,6 @@ case $(uname -s) in
esac esac
${MAKE} all > /dev/null ${MAKE} all > /dev/null
$1 --no-color --console-width 0 --no-banner usealloc.idr < input idris2 usealloc.idr < input
rm -rf build . ../../testutils.sh
${MAKE} clean > /dev/null ${MAKE} clean > /dev/null

View File

@ -1,3 +1,5 @@
$1 --no-color --console-width 0 --no-banner File.idr < input . ../../testutils.sh
idris2 File.idr < input
rm -rf build test.txt rm -rf build test.txt

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner Envy.idr < input
idris2 Envy.idr < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner runst.idr < input
idris2 runst.idr < input

View File

@ -1,4 +1,6 @@
$1 --build dummy.ipkg . ../../testutils.sh
idris2 --build dummy.ipkg
./custom_output/check_dir ./custom_output/check_dir

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-color --console-width 0 --no-banner -p contrib StringParser.idr < input
idris2 -p contrib StringParser.idr < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 -p contrib ExpressionParser.idr < input
idris2 -p contrib ExpressionParser.idr < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 BitCasts.idr < input
idris2 BitCasts.idr < input

View File

@ -1,5 +1,4 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 --directive extraRuntime=extensions.scm -o chez030 ExtraRuntime.idr idris2 --directive extraRuntime=extensions.scm -o chez030 ExtraRuntime.idr
./build/exec/chez030 ./build/exec/chez030

View File

@ -1,6 +1,5 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 --cg chez Specifiers.idr --exec main
$1 --no-banner --no-color --console-width 0 --cg chez Specifiers.idr -o build/foo
$1 --no-banner --no-color --console-width 0 --cg chez < input
run --cg chez Specifiers.idr
idris2 --cg chez Specifiers.idr -o build/foo
idris2 --cg chez < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 BitOps.idr < input
idris2 BitOps.idr < input

View File

@ -1,3 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 Main.idr --inc chez < input idris2 Main.idr --inc chez < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 ThreadData.idr < input
idris2 ThreadData.idr < input

View File

@ -1,10 +1,10 @@
. ../../testutils.sh
export IDRIS2_INC_CGS= export IDRIS2_INC_CGS=
$1 --no-banner --no-color --console-width 0 --check Mod1.idr < input check Mod1.idr < input
export IDRIS2_INC_CGS=chez export IDRIS2_INC_CGS=chez
$1 --no-banner --no-color --console-width 0 -o test Mod2.idr < input idris2 -o test Mod2.idr < input
./build/exec/test ./build/exec/test
ls build/ttc/*/Mod1.so | sed -r "s/.([0-9]){10}//g" ls build/ttc/*/Mod1.so | sed -r "s/.([0-9]){10}//g"
rm -rf build

View File

@ -1,5 +1,5 @@
$1 --no-banner --no-color --console-width 0 --exec main Crash.idr . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 --exec main Crash2.idr
$1 --no-banner --no-color --console-width 0 --exec main Crash3.idr
rm -rf build run Crash.idr
run Crash2.idr
run Crash3.idr

View File

@ -1,5 +1,4 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --quiet -o fold Fold.idr
$1 --no-banner --no-color --console-width 0 Check.idr < input
idris2 --quiet -o fold Fold.idr
idris2 Check.idr < input

View File

@ -1,5 +1,4 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --quiet -o fold Fold.idr
$1 --no-banner --no-color --console-width 0 Check.idr < input
idris2 --quiet -o fold Fold.idr
idris2 Check.idr < input

View File

@ -1,5 +1,4 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --quiet -o fold Fold.idr
$1 --no-banner --no-color --console-width 0 Check.idr < input
idris2 --quiet -o fold Fold.idr
idris2 Check.idr < input

View File

@ -1 +1,3 @@
$1 --no-banner --no-color --console-width 0 --cg chez Main.idr --exec main . ../../testutils.sh
run --cg chez Main.idr

View File

@ -1,6 +1,8 @@
$1 --no-banner --no-color --console-width 0 --cg chez Futures.idr -p contrib --exec constant . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 --cg chez Futures.idr -p contrib --exec simpleIO
$1 --no-banner --no-color --console-width 0 --cg chez Futures.idr -p contrib --exec erasureAndNonbindTest idris2 --cg chez Futures.idr -p contrib --exec constant
$1 --no-banner --no-color --console-width 0 --cg chez Futures.idr -p contrib --exec map idris2 --cg chez Futures.idr -p contrib --exec simpleIO
idris2 --cg chez Futures.idr -p contrib --exec erasureAndNonbindTest
idris2 --cg chez Futures.idr -p contrib --exec map
rm -r build rm -r build

View File

@ -1,4 +1,4 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --quiet -o main Main.idr idris2 --quiet -o main Main.idr
$1 --no-banner --no-color --console-width 0 --exec main Check.idr run Check.idr

View File

@ -1,5 +1,4 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 -o integers TestIntegers.idr > /dev/null idris2 -o integers TestIntegers.idr > /dev/null
./build/exec/integers ./build/exec/integers

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 Memo.idr < input
idris2 Memo.idr < input

View File

@ -1,5 +1,4 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --quiet -o test Test.idr
$1 --no-banner --no-color --console-width 0 Check.idr < input
idris2 --quiet -o test Test.idr
idris2 Check.idr < input

View File

@ -1,4 +1,3 @@
rm -rf build . ../../testutils.sh
$1 --no-banner --no-color --console-width 0 IntOps.idr < input
idris2 IntOps.idr < input

Some files were not shown because too many files have changed in this diff Show More