##// END OF EJS Templates
tests: don't run test-convert-cvs if there's no cvs server
Dirkjan Ochtman -
r6626:59f7b804 default
parent child Browse files
Show More
@@ -25,7 +25,8 b' def has_baz():'
25 return matchoutput('baz --version 2>&1', r'baz Bazaar version')
25 return matchoutput('baz --version 2>&1', r'baz Bazaar version')
26
26
27 def has_cvs():
27 def has_cvs():
28 return matchoutput('cvs --version 2>&1', r'Concurrent Versions System')
28 re = r'Concurrent Versions System.*?server'
29 return matchoutput('cvs --version 2>&1', re)
29
30
30 def has_cvsps():
31 def has_cvsps():
31 return matchoutput('cvsps -h -q 2>&1', r'cvsps version', True)
32 return matchoutput('cvsps -h -q 2>&1', r'cvsps version', True)
@@ -120,7 +121,7 b' def has_pygments():'
120
121
121 checks = {
122 checks = {
122 "baz": (has_baz, "GNU Arch baz client"),
123 "baz": (has_baz, "GNU Arch baz client"),
123 "cvs": (has_cvs, "cvs client"),
124 "cvs": (has_cvs, "cvs client/server"),
124 "cvsps": (has_cvsps, "cvsps utility"),
125 "cvsps": (has_cvsps, "cvsps utility"),
125 "darcs": (has_darcs, "darcs client"),
126 "darcs": (has_darcs, "darcs client"),
126 "eol-in-paths": (has_eol_in_paths, "end-of-lines in paths"),
127 "eol-in-paths": (has_eol_in_paths, "end-of-lines in paths"),
General Comments 0
You need to be logged in to leave comments. Login now