File tree Expand file tree Collapse file tree 24 files changed +29
-24
lines changed
Expand file tree Collapse file tree 24 files changed +29
-24
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,8 @@ test: ./runtests
1515
1616retest : ./runtests
1717 ./runtests " $( AGDA) " $(INTERACTIVE ) --timing --failure-file failures --only-file failures --only $(only )
18+
19+ clean :
20+ rm -rf runtests
21+ rm -rf _config/_build
22+ rm -rf _config/dist-newstyle
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ set -eu
1515goldenTest () {
1616
1717 AGDA=$1
18- TEST_NAME=$2
18+ TEST_NAME=" stdlib-test- $2 "
1919
2020 # Remember whether the script has an input -- ugh
2121 if [ -f input ]; then
@@ -43,7 +43,7 @@ goldenTest () {
4343 ln -sf " $CABAL_BUILD_DIR " dist-newstyle
4444
4545 # Compile the Agda module and build the generated code
46- " $AGDA " --library-file=../../_config/libraries --compile-dir=_build -c --ghc-dont-call-ghc Main.agda > logs/agda-build
46+ $AGDA --library-file=../../_config/libraries --compile-dir=_build -c --ghc-dont-call-ghc Main.agda > logs/agda-build
4747 cabal build " $TEST_NAME " --with-compiler " $GHC_EXEC " > logs/cabal-build
4848
4949 # Run the test
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import Data.Nat
1313open import Relation.Unary
1414open import Relation.Binary.PropositionalEquality as P using (_≡_)
1515open import Relation.Nullary
16- open import Relation.Nullary.Product
16+ open import Relation.Nullary.Decidable
1717
1818-- Original bug reported in #1765 by James Wood
1919_ : Appending (3 ∷ []) (2 ∷ []) (3 ∷ 2 ∷ [])
Original file line number Diff line number Diff line change 11. ../../_config/config.sh
2- goldenTest $1 "appending"
2+ goldenTest "$1" "appending"
Original file line number Diff line number Diff line change 11. ../../_config/config.sh
2- goldenTest $1 "colist"
2+ goldenTest "$1" "colist"
Original file line number Diff line number Diff line change 11. ../../_config/config.sh
2- goldenTest $1 "list"
2+ goldenTest "$1" "list"
Original file line number Diff line number Diff line change 11. ../../_config/config.sh
2- goldenTest $1 "rational-unnormalised"
2+ goldenTest "$1" "rational-unnormalised"
Original file line number Diff line number Diff line change 11. ../../_config/config.sh
2- goldenTest $1 "rational"
2+ goldenTest "$1" "rational"
Original file line number Diff line number Diff line change 11. ../../_config/config.sh
2- goldenTest $1 "trie"
2+ goldenTest "$1" "trie"
Original file line number Diff line number Diff line change 11. ../../_config/config.sh
2- goldenTest $1 "counting"
2+ goldenTest "$1" "counting"
You can’t perform that action at this time.
0 commit comments