mirror of
https://github.com/git/git.git
synced 2026-04-02 13:00:08 +02:00
Skip tests that fail due to incomplete implementations, missing tools...
This commit is contained in:
24
t/Makefile
24
t/Makefile
@@ -42,3 +42,27 @@ valgrind:
|
|||||||
GIT_TEST_OPTS=--valgrind $(MAKE)
|
GIT_TEST_OPTS=--valgrind $(MAKE)
|
||||||
|
|
||||||
.PHONY: pre-clean $(T) aggregate-results clean valgrind
|
.PHONY: pre-clean $(T) aggregate-results clean valgrind
|
||||||
|
|
||||||
|
-include Makefile.local
|
||||||
|
|
||||||
|
GIT_SKIP_TESTS := $(GIT_SKIP_TESTS_LOCAL)
|
||||||
|
# git am does not treat absolute path to mbox file correctly
|
||||||
|
GIT_SKIP_TESTS += t4150.18
|
||||||
|
# git upload-pack does not write an error message in this case
|
||||||
|
# (reason unknown; seems to be a race condition)
|
||||||
|
GIT_SKIP_TESTS += t5530.6
|
||||||
|
# output contains CRLF (I think)
|
||||||
|
GIT_SKIP_TESTS += t7401.14
|
||||||
|
# output contains CRLF (I think)
|
||||||
|
GIT_SKIP_TESTS += t7508.1[68]
|
||||||
|
# cannot run fake.sendmail for some reason
|
||||||
|
GIT_SKIP_TESTS += t9001
|
||||||
|
# there's a problem with GIT_DIR in test 12 (why only there?)
|
||||||
|
# needs fixups with $PWD instead of $(pwd) - tries to run rsh c
|
||||||
|
GIT_SKIP_TESTS += t9200
|
||||||
|
# CGI.pm not found
|
||||||
|
GIT_SKIP_TESTS += t9500
|
||||||
|
export GIT_SKIP_TESTS
|
||||||
|
|
||||||
|
NO_SVN_TESTS=SkipThem
|
||||||
|
export NO_SVN_TESTS
|
||||||
|
|||||||
@@ -245,11 +245,7 @@ test_expect_success 'am works from file (relative path given) in subdirectory' '
|
|||||||
test -z "$(git diff second)"
|
test -z "$(git diff second)"
|
||||||
'
|
'
|
||||||
|
|
||||||
case $(uname -s) in
|
test_expect_success 'am works from file (absolute path given) in subdirectory' '
|
||||||
*MINGW*) test_expect=test_expect_failure;;
|
|
||||||
*) test_expect=test_expect_success;;
|
|
||||||
esac
|
|
||||||
$test_expect 'am works from file (absolute path given) in subdirectory' '
|
|
||||||
rm -fr subdir &&
|
rm -fr subdir &&
|
||||||
git checkout first &&
|
git checkout first &&
|
||||||
P=$(pwd) &&
|
P=$(pwd) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user