git-annex test from standalone speedup
Avoid git-annex test being very slow when run from within the standalone linux tarball or OSX app. It may not really be necessary to add to PATH the directory where the git-annex binary resides, but it can't hurt. Most places where the test suite or git-annex run git-annex, they use programPath, so won't need a modified PATH. But I'm not sure if that's always the case. Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
ecf7c29107
commit
2fc46e1871
3 changed files with 19 additions and 2 deletions
|
@ -0,0 +1,13 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 2"""
|
||||
date="2022-03-01T19:58:37Z"
|
||||
content="""
|
||||
I have fixed the problem I identified, which was due to git-annex test adding
|
||||
the cwd to PATH, which caused it to run git-annex.linux/git, so runshell
|
||||
was being run repeatedly and unncessarily.
|
||||
|
||||
Now it will run git-annex.linux/bin/git and avoid the repeated runshell
|
||||
overhead, so will be about as fast as git-annex not run from the standalone
|
||||
tarball.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue