Show More
@@ -59,7 +59,7 b" if __name__ == '__main__':" | |||
|
59 | 59 | |
|
60 | 60 | if feature not in checks: |
|
61 | 61 | error('skipped: unknown feature: ' + feature) |
|
62 |
|
|
|
62 | sys.exit(2) | |
|
63 | 63 | |
|
64 | 64 | check, desc = checks[feature] |
|
65 | 65 | try: |
@@ -602,10 +602,13 b' def tsttest(test, wd, options, replaceme' | |||
|
602 | 602 | tdir = TESTDIR.replace('\\', '/') |
|
603 | 603 | proc = Popen4('%s -c "%s/hghave %s"' % |
|
604 | 604 | (options.shell, tdir, ' '.join(reqs)), wd, 0) |
|
605 | proc.communicate() | |
|
605 | stdout, stderr = proc.communicate() | |
|
606 | 606 | ret = proc.wait() |
|
607 | 607 | if wifexited(ret): |
|
608 | 608 | ret = os.WEXITSTATUS(ret) |
|
609 | if ret == 2: | |
|
610 | print stdout | |
|
611 | sys.exit(1) | |
|
609 | 612 | return ret == 0 |
|
610 | 613 | |
|
611 | 614 | f = open(test) |
General Comments 0
You need to be logged in to leave comments.
Login now