File tree Expand file tree Collapse file tree 3 files changed +3
-58
lines changed
Expand file tree Collapse file tree 3 files changed +3
-58
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ common common-build-parameters
1515
1616 build-depends :
1717 base >= 4.12 && < 4.20
18+ , text >= 2.0 && < 2.2
1819
1920 ghc-options : -Wno-missing-home-modules
2021
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- TEST_NAME=appending
2-
3- # Use the shared version numbers
4- . ../../_config/version-numbers.sh
5-
6- # Specialise template agda-lib
7- sed "s/TEST_NAME/$TEST_NAME/g" ../../_config/template.agda-lib > "$TEST_NAME".agda-lib
8-
9- # Set up clean logs directory
10- rm -rf logs/
11- mkdir logs
12-
13- # Use shared directories to avoid rechecking stdlib modules
14- AGDA_BUILD_DIR=../../_config/_build
15- CABAL_BUILD_DIR=../../_config/dist-newstyle
16-
17- mkdir -p "$AGDA_BUILD_DIR"
18- ln -sf "$AGDA_BUILD_DIR" _build
19- mkdir -p "$CABAL_BUILD_DIR"
20- ln -sf "$CABAL_BUILD_DIR" dist-newstyle
21-
22- # Compile the Agda module and build the generated code
23- $1 --library-file ../../_config/libraries --compile-dir=_build -c --ghc-dont-call-ghc Main.agda > logs/agda-build
24- cabal build "$TEST_NAME" --with-compiler "$GHC_EXEC" > logs/cabal-build
25-
26- # Run the test
27- cabal exec -v0 "$TEST_NAME" --with-compiler "$GHC_EXEC" < input > output
28-
29- # Clean up after ourselves
30- rm "$TEST_NAME".agda-lib
31- rm -R dist-newstyle
32- rm -R _build/MAlonzo/Code/
1+ . ../../_config/config.sh
2+ goldenTest $1 "appending"
You can’t perform that action at this time.
0 commit comments