summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ibcarbon
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-15 21:48:16 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-15 21:48:16 (GMT)
commit87eea88b5a198234cb18980d6f3a155de176ea6e (patch)
treedaa93ce59fd04fb65d345a0842b29f093c6324d7 /Mac/Modules/ibcarbon
parent81204152d4e4de10b074a8db14b2ae426db5bcb0 (diff)
downloadcpython-87eea88b5a198234cb18980d6f3a155de176ea6e.zip
cpython-87eea88b5a198234cb18980d6f3a155de176ea6e.tar.gz
cpython-87eea88b5a198234cb18980d6f3a155de176ea6e.tar.bz2
After generating the Python file with definitions try to run it, so
we catch errors during the build process in stead of later during runtime.
Diffstat (limited to 'Mac/Modules/ibcarbon')
-rw-r--r--Mac/Modules/ibcarbon/IBCarbonscan.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Modules/ibcarbon/IBCarbonscan.py b/Mac/Modules/ibcarbon/IBCarbonscan.py
index c0dea7e..1f05217 100644
--- a/Mac/Modules/ibcarbon/IBCarbonscan.py
+++ b/Mac/Modules/ibcarbon/IBCarbonscan.py
@@ -17,6 +17,8 @@ def main():
scanner = IBCarbon_Scanner(input, output, defsoutput)
scanner.scan()
scanner.close()
+ print "=== Testing definitions output code ==="
+ execfile(defsoutput, {}, {})
print "--done scanning, importing--"
import IBCarbonsupport
print "done"