Show More
@@ -376,3 +376,7 b' def has_absimport():' | |||||
376 | @check("py3k", "running with Python 3.x") |
|
376 | @check("py3k", "running with Python 3.x") | |
377 | def has_py3k(): |
|
377 | def has_py3k(): | |
378 | return 3 == sys.version_info[0] |
|
378 | return 3 == sys.version_info[0] | |
|
379 | ||||
|
380 | @check("pure", "running with pure Python code") | |||
|
381 | def has_pure(): | |||
|
382 | return os.environ.get("HGTEST_RUN_TESTS_PURE") == "--pure" |
@@ -62,6 +62,8 b' We approximate that by reducing the read' | |||||
62 |
|
62 | |||
63 | Test corrupted p1/p2 fields that could cause SEGV at parsers.c: |
|
63 | Test corrupted p1/p2 fields that could cause SEGV at parsers.c: | |
64 |
|
64 | |||
|
65 | #if no-pure | |||
|
66 | ||||
65 | $ mkdir invalidparent |
|
67 | $ mkdir invalidparent | |
66 | $ cd invalidparent |
|
68 | $ cd invalidparent | |
67 |
|
69 | |||
@@ -118,3 +120,5 b' Test corrupted p1/p2 fields that could c' | |||||
118 | find_deepest: parent out of range |
|
120 | find_deepest: parent out of range | |
119 |
|
121 | |||
120 | $ cd .. |
|
122 | $ cd .. | |
|
123 | ||||
|
124 | #endif |
General Comments 0
You need to be logged in to leave comments.
Login now