You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
A few tips to debug test failures
Use verbose and immediate 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
Have a look at the README
In the t/ subdirectory of git is a README with much more descriptions of
tools.
Writing all test data on a ramdisk/drive
Since the testsuite performs a lot of file I/O it can be a speedup to
setup a virtual ramdisk.