1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-24 00:16:31 +02:00
git/perl/Git
Eric Wong 412e4caee3 tests: disable fsync everywhere
The "GIT_TEST_FSYNC" environment variable now exists for
disabling fsync() even on packfiles and other "critical" data.

Running "make test -j8 NO_SVN_TESTS=1" on a noisy 8-core system
on an HDD, test runtime drops from ~4 minutes down to ~3 minutes.
Using "GIT_TEST_FSYNC=1" re-enables fsync() for comparison
purposes.

SVN interopability tests are minimally affected since SVN will
still use fsync in various places.

This will also be useful for 3rd-party tools which create
throwaway git repositories of temporary data, but remains
undocumented for end users.

Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2021-10-29 10:22:40 -07:00
..
LoadCPAN perl: check for perl warnings while running tests 2020-10-21 23:11:48 -07:00
SVN Merge branch 'jk/perl-warning' 2020-11-09 14:06:25 -08:00
I18N.pm perl: use mock i18n functions under NO_GETTEXT=Y 2021-05-06 12:58:33 +09:00
IndexInfo.pm perl: check for perl warnings while running tests 2020-10-21 23:11:48 -07:00
LoadCPAN.pm perl: check for perl warnings while running tests 2020-10-21 23:11:48 -07:00
Packet.pm perl: check for perl warnings while running tests 2020-10-21 23:11:48 -07:00
SVN.pm tests: disable fsync everywhere 2021-10-29 10:22:40 -07:00