Reorganize tests

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras
2014-05-09 08:32:47 -05:00
parent a43818a356
commit 0b71ca38e7
5 changed files with 7 additions and 4 deletions

3
test/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
test-results/
trash directory.*/
.prove

View File

@@ -1,6 +1,6 @@
RM ?= rm -f
T = $(wildcard ../test-*.sh)
T = $(wildcard *.t)
TEST_DIRECTORY := $(CURDIR)
export TEST_DIRECTORY

View File

@@ -16,7 +16,7 @@ then
test_done
fi
if ! python -c 'import mercurial'
if ! python -c 'import mercurial' > /dev/null 2>&1
then
skip_all='skipping remote-hg tests; mercurial not available'
test_done

View File

@@ -22,7 +22,7 @@ then
test_done
fi
if ! python -c 'import hggit'
if ! python -c 'import hggit' > /dev/null 2>&1
then
skip_all='skipping remote-hg tests; hg-git not available'
test_done

View File

@@ -17,7 +17,7 @@ then
test_done
fi
if ! python -c 'import mercurial'
if ! python -c 'import mercurial' > /dev/null 2>&1
then
skip_all='skipping remote-hg tests; mercurial not available'
test_done