stop using shelltest
we haven't really been reaping a benefit from it it doesn't give easy to use output
This commit is contained in:
parent
91d06be35e
commit
cb0fff5d8d
@ -11,7 +11,13 @@ cabal clean && cabal install && cabal sdist
|
||||
for f in $(ls -1rt dist/*.tar.gz | tail -1)
|
||||
do
|
||||
tar -xzvf $f && cd `basename $f .tar.gz` || exit 1
|
||||
shelltest ../test/scaffold.shelltest --color --diff $@ -- --hide-successes
|
||||
|
||||
# shelltest is designed to show you the diff of an expected stdout/stdin. We don't care about that. If it compiles, it compiles
|
||||
# shelltest ../test/scaffold.shelltest --color --diff --all $@ -- --hide-successes
|
||||
|
||||
../test/scaffold.sh < ../test/sqlite-input.txt &&
|
||||
../test/scaffold.sh < ../test/postgresql-input.txt &&
|
||||
../test/scaffold.sh < ../test/tiny-input.txt || (echo "FAILED" && exit 1)
|
||||
cd ..
|
||||
rm -r `basename $f .tar.gz`
|
||||
done
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
# Not using this currently!
|
||||
#
|
||||
# Important! run with test/run.sh
|
||||
|
||||
rm -rf foobar && runghc main.hs init && cd foobar && cabal install && cabal install -fdevel && cd ..
|
||||
|
||||
Loading…
Reference in New Issue
Block a user