]> git.ipfire.org Git - thirdparty/git.git/commit
test-lib: add an EXPENSIVE_ON_WINDOWS prerequisite
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 30 Jan 2018 21:21:23 +0000 (21:21 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Jan 2018 22:04:01 +0000 (14:04 -0800)
commit5b1fe6ebb7ed494391a582c3fda37813fdbf28c4
treea6208ae9dce7a593dc35b142c49aa49015f74232
parentde8bada2bf63d274b8f7759f0ffd0b7669e52eca
test-lib: add an EXPENSIVE_ON_WINDOWS prerequisite

Add an EXPENSIVE_ON_WINDOWS prerequisite to mark those tests which are
very expensive to run on Windows, but cheap elsewhere.

Certain tests that heavily stress the filesystem or run a lot of shell
commands are disproportionately expensive on Windows, this
prerequisite will later be used by a tests that runs in 4-8 seconds on
a modern Linux system, but takes almost 10 minutes on Windows.

There's no reason to skip such tests by default on other platforms,
but Windows users shouldn't need to wait around while they finish.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh