File: run-tests

package info (click to toggle)
haskell-system-fileio 0.3.11-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 156 kB
  • ctags: 15
  • sloc: haskell: 1,285; ansic: 147; sh: 51; makefile: 2
file content (17 lines) | stat: -rwxr-xr-x 363 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
if [ ! -f 'system-fileio.cabal' ]; then
	echo -n "Can't find system-fileio.cabal; please run this script as"
	echo -n " ./scripts/run-tests from within the system-fileio source"
	echo " directory"
	exit 1
fi

. scripts/common.bash

require_cabal_dev

pushd tests
$CABAL_DEV -s ../cabal-dev install || exit 1
popd

cabal-dev/bin/system-fileio_tests $@