diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-15 21:48:16 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-15 21:48:16 (GMT) |
commit | 87eea88b5a198234cb18980d6f3a155de176ea6e (patch) | |
tree | daa93ce59fd04fb65d345a0842b29f093c6324d7 /Mac/Modules/drag/dragscan.py | |
parent | 81204152d4e4de10b074a8db14b2ae426db5bcb0 (diff) | |
download | cpython-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/drag/dragscan.py')
-rw-r--r-- | Mac/Modules/drag/dragscan.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Modules/drag/dragscan.py b/Mac/Modules/drag/dragscan.py index 1d62f6e..e305e04 100644 --- a/Mac/Modules/drag/dragscan.py +++ b/Mac/Modules/drag/dragscan.py @@ -25,6 +25,8 @@ def main(): scanner = MyScanner(input, output, defsoutput) scanner.scan() scanner.close() + print "=== Testing definitions output code ===" + execfile(defsoutput, {}, {}) print "=== Done scanning and generating, now doing 'import dragsupport' ===" import dragsupport print "=== Done. It's up to you to compile Dragmodule.c ===" |