Testsuite - wnoguchi/msysgit GitHub Wiki
From the msysGit Development environment the testsuite can be run by
cd /git make test
However since the testsuite takes some time on Windows we have a helper script where the output is easier to read. To use it you first need to compile git
cd /git make
and then
/share/msysGit/run-tests.sh [-j<n>]
which by default will run the tests in parallel. The amount of parallel jobs can be configured by the -j option.
You can run the individual tests with the -v and -i switch. This will give you verbose output of the scripts and make the test stop immediately after the test failure. E.g.
cd t && ./t0000-basic.sh -i -v
In the t/ subdirectory of git is a README with much more descriptions of tools.
Since the testsuite performs a lot of file I/O it can be a speedup to setup a virtual ramdisk.
Create a ramdisk. E.g. use this tool: http://www.ltr-data.se/opencode.html/#ImDisk
Tell the testsuite to use the new drive:
/share/msysGit/run-tests.sh GIT_TEST_OPTS="--root=/<Driveletter>/"
For example if you have setup V: as ramdisk
/share/msysGit/run-tests.sh GIT_TEST_OPTS="--root=/v/"