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
$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
. ../../testutils.sh
idris2 "Module'.idr" < input
run "Module'.idr"
EDITOR=true idris2 "Module'.idr" < input-ed

View File

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

View File

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

View File

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

View File

@ -1,4 +1,3 @@
rm -rf build
$1 --exec main Issue775.idr
. ../../testutils.sh
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.
$1 --exec main TermSize.idr </dev/null
run TermSize.idr </dev/null
# The following should report True True, but the ci scripts don't
# provide a terminal
# $1 --exec main TermSize.idr
# run TermSize.idr
# The following should also report True True if the output is a terminal,
# 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
$1 --no-color --console-width 0 --no-banner TestException.idr < input
. ../../testutils.sh
idris2 TestException.idr < input

View File

@ -1,6 +1,5 @@
rm -rf build
$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
. ../../testutils.sh
check SearchReader.idr
check SearchWriter.idr
check SearchState.idr

View File

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

View File

@ -1,4 +1,3 @@
rm -rf build
$1 --no-banner --no-color --console-width 0 BitRotate.idr < input
. ../../testutils.sh
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
$1 --no-banner --no-color --console-width 0 Num.idr -x main
$1 --no-banner --no-color --console-width 0 performance.idr -x main
check fromInteger.idr
run Num.idr
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
$1 --no-color --console-width 0 --no-banner -c Search.idr
check DeriveFunctor.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
# 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
rm -rf ./build
$1 --cg node -o test.js Test.idr
idris2 --cg node -o test.js Test.idr
HELLO=hi node ./build/exec/test.js

View File

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

View File

@ -1,16 +1,15 @@
rm -rf build
. ../../testutils.sh
# @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
idris2 --cg chez ReadFilePage.idr < input
idris2 --cg node 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
# idris2 --cg racket ReadFilePage.idr < input
# 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
# $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
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
# C (supported by most backends) and Node.
$1 --cg chez -o test Test.idr
idris2 --cg chez -o test Test.idr
./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

View File

@ -1,4 +1,4 @@
rm -rf build
. ../../testutils.sh
rm -f expected
@ -9,5 +9,4 @@ fi
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
Linux*) EXPECTED_OS=unix ;;
@ -12,5 +12,4 @@ case "$(uname)" in
esac
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
$1 --no-color --console-width 0 --no-banner IgnoreSignal.idr < input
. ../../testutils.sh
idris2 IgnoreSignal.idr < input

View File

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

View File

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

View File

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

View File

@ -1,11 +1,11 @@
rm -rf build
. ../../testutils.sh
# @system@ uses primitive functions with definitions for both
# C (supported by most backends) and Node.
$1 --cg chez -o test Test.idr
idris2 --cg chez -o test Test.idr
./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

View File

@ -1,16 +1,15 @@
rm -rf build
. ../../testutils.sh
# @time@ uses a primitive function with definitions for both
# C (supported by most backends) and Javascript (Node & Browsers).
$1 --cg chez --no-color --console-width 0 --no-banner Time.idr < input
$1 --cg node --no-color --console-width 0 --no-banner Time.idr < input
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
# $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
# $1 --cg refc --no-color --console-width 0 --no-banner ReadFilePage.idr < input
# idris2 --cg refc ReadFilePage.idr < input
# 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
$1 --no-banner --no-color --console-width 0 BitOps.idr < input
. ../../testutils.sh
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
rm tmp.bin
run Main.idr
rm tmp.bin

View File

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

View File

@ -1,4 +1,3 @@
rm -rf build
$1 --no-color --console-width 0 --no-banner Total.idr < input
. ../../testutils.sh
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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,3 @@
rm -rf build
$1 --no-banner --no-color --console-width 0 BitCasts.idr < input
. ../../testutils.sh
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

View File

@ -1,6 +1,5 @@
rm -rf build
$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
. ../../testutils.sh
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
$1 --no-banner --no-color --console-width 0 BitOps.idr < input
. ../../testutils.sh
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
$1 --no-banner --no-color --console-width 0 ThreadData.idr < input
. ../../testutils.sh
idris2 ThreadData.idr < input

View File

@ -1,10 +1,10 @@
. ../../testutils.sh
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
$1 --no-banner --no-color --console-width 0 -o test Mod2.idr < input
idris2 -o test Mod2.idr < input
./build/exec/test
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
$1 --no-banner --no-color --console-width 0 --exec main Crash2.idr
$1 --no-banner --no-color --console-width 0 --exec main Crash3.idr
. ../../testutils.sh
rm -rf build
run Crash.idr
run Crash2.idr
run Crash3.idr

View File

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

View File

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

View File

@ -1,5 +1,4 @@
rm -rf build
$1 --no-banner --no-color --quiet -o fold Fold.idr
$1 --no-banner --no-color --console-width 0 Check.idr < input
. ../../testutils.sh
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
$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
$1 --no-banner --no-color --console-width 0 --cg chez Futures.idr -p contrib --exec map
. ../../testutils.sh
idris2 --cg chez Futures.idr -p contrib --exec constant
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

View File

@ -1,4 +1,4 @@
rm -rf build
. ../../testutils.sh
$1 --no-banner --no-color --quiet -o main Main.idr
$1 --no-banner --no-color --console-width 0 --exec main Check.idr
idris2 --quiet -o main Main.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

View File

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

View File

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

View File

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

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