From: Junio C Hamano Date: Mon, 08 Jan 2018 18:49:45 GMT Subject: Re: [PATCH v4 8/7] wildmatch test: skip file creation tests on Windows proper Message-ID: In-Reply-To: <87mv1raz9p.fsf@evledraar.gmail.com> Ævar Arnfjörð Bjarmason writes: > I agree that there should be some prerequisite to skip this on Windows > by default since 6 minutes is clearly excessive (although I think you'll > find it runs a bit faster in the branch above), but that should be > something like: > > test_lazy_prereq EXPENSIVE_ON_WINDOWS ' > test -n "$GIT_TEST_LONG" || test_have_prereq !MINGW,!CYGWIN > ' > > As the long runtime is not inherent to the test, but to excessive > slowness caused by certain operations on certain platforms, or maybe it > should be EXPENSIVE_ON_SLOW_FS or EXPENSIVE_IF_FORKING_IS_SLOW or if > we'd like to generalize it. We already do skip overly long tests everywhere unless explicitly asked to run them, and the above sounds like a good way to go.