Skip to content

Commit 7c220d3

Browse files
committed
[ fix ] cabal exec should not print extra output
1 parent 06cc339 commit 7c220d3

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

tests/data/appending/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $1 --compile-dir=_build -c --ghc-dont-call-ghc Main.agda > logs/agda-build
1515
cabal build "$TEST_NAME" --with-compiler "$GHC_EXEC" > logs/cabal-build
1616

1717
# Run the test
18-
cabal exec "$TEST_NAME" --with-compiler "$GHC_EXEC" < input > output
18+
cabal exec -v0 "$TEST_NAME" --with-compiler "$GHC_EXEC" < input > output
1919

2020
# Clean up after ourselves
2121
rm -R dist-newstyle

tests/data/colist/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $1 --compile-dir=_build -c --ghc-dont-call-ghc Main.agda > logs/agda-build
1515
cabal build "$TEST_NAME" --with-compiler "$GHC_EXEC" > logs/cabal-build
1616

1717
# Run the test
18-
cabal exec "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
18+
cabal exec -v0 "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
1919

2020
# Clean up after ourselves
2121
rm -R dist-newstyle

tests/data/list/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $1 --compile-dir=_build -c --ghc-dont-call-ghc Main.agda > logs/agda-build
1515
cabal build "$TEST_NAME" --with-compiler "$GHC_EXEC" > logs/cabal-build
1616

1717
# Run the test
18-
cabal exec "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
18+
cabal exec -v0 "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
1919

2020
# Clean up after ourselves
2121
rm -R dist-newstyle

tests/data/rational-unnormalised/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $1 --compile-dir=_build -c --ghc-dont-call-ghc Main.agda > logs/agda-build
1515
cabal build "$TEST_NAME" --with-compiler "$GHC_EXEC" > logs/cabal-build
1616

1717
# Run the test
18-
cabal exec "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
18+
cabal exec -v0 "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
1919

2020
# Clean up after ourselves
2121
rm -R dist-newstyle

tests/data/rational/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $1 --compile-dir=_build -c --ghc-dont-call-ghc Main.agda > logs/agda-build
1515
cabal build "$TEST_NAME" --with-compiler "$GHC_EXEC" > logs/cabal-build
1616

1717
# Run the test
18-
cabal exec "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
18+
cabal exec -v0 "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
1919

2020
# Clean up after ourselves
2121
rm -R dist-newstyle

tests/data/trie/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $1 --compile-dir=_build -c --ghc-dont-call-ghc Main.agda > logs/agda-build
1515
cabal build "$TEST_NAME" --with-compiler "$GHC_EXEC" > logs/cabal-build
1616

1717
# Run the test
18-
cabal exec "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
18+
cabal exec -v0 "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
1919

2020
# Clean up after ourselves
2121
rm -R dist-newstyle

tests/monad/counting/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $1 --compile-dir=_build -c --ghc-dont-call-ghc Main.agda > logs/agda-build
1515
cabal build "$TEST_NAME" --with-compiler "$GHC_EXEC" > logs/cabal-build
1616

1717
# Run the test
18-
cabal exec "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
18+
cabal exec -v0 "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
1919

2020
# Clean up after ourselves
2121
rm -R dist-newstyle

tests/monad/fibonacci/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $1 --compile-dir=_build -c --ghc-dont-call-ghc Main.agda > logs/agda-build
1515
cabal build "$TEST_NAME" --with-compiler "$GHC_EXEC" > logs/cabal-build
1616

1717
# Run the test
18-
cabal exec "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
18+
cabal exec -v0 "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
1919

2020
# Clean up after ourselves
2121
rm -R dist-newstyle

tests/monad/pythagorean/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $1 --compile-dir=_build -c --ghc-dont-call-ghc Main.agda > logs/agda-build
1515
cabal build "$TEST_NAME" --with-compiler "$GHC_EXEC" > logs/cabal-build
1616

1717
# Run the test
18-
cabal exec "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
18+
cabal exec -v0 "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
1919

2020
# Clean up after ourselves
2121
rm -R dist-newstyle

tests/monad/tcm/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $1 --compile-dir=_build -c --ghc-dont-call-ghc Main.agda > logs/agda-build
1515
cabal build "$TEST_NAME" --with-compiler "$GHC_EXEC" > logs/cabal-build
1616

1717
# Run the test
18-
cabal exec "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
18+
cabal exec -v0 "$TEST_NAME" --with-compiler "$GHC_EXEC" > output
1919

2020
# Clean up after ourselves
2121
rm -R dist-newstyle

0 commit comments

Comments
 (0)