summaryrefslogtreecommitdiff
path: root/buildandrun
diff options
context:
space:
mode:
authorJon Siddle <js@corefiling.co.uk>2010-09-14 15:08:26 +0100
committerR. Tyler Croy <tyler@monkeypox.org>2010-09-15 10:52:11 -0700
commit0287a0833cc30e0e469f6a774770002128a0281f (patch)
tree6079c22e274f2b9a69aadd7bd5c57d0ba4045061 /buildandrun
parenta969475248fcaa350dc921b2ec52499d8c7fb84e (diff)
downloadpython-cheetah-0287a0833cc30e0e469f6a774770002128a0281f.tar.gz
Added test and fix for segfault in namemapper where exception is thrown by __getattr__.
Diffstat (limited to 'buildandrun')
-rwxr-xr-xbuildandrun3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildandrun b/buildandrun
index d3b4e42..41a636a 100755
--- a/buildandrun
+++ b/buildandrun
@@ -58,7 +58,8 @@ def main():
os.putenv('PYTHONPATH', libdir)
rc = subprocess.call( ['python',] + args )
-
+ if rc == -11:
+ logging.error('Segmentation fault in test process. Test failed.')
if __name__ == '__main__':