mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
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.
This commit is contained in:
parent
81204152d4
commit
87eea88b5a
27 changed files with 54 additions and 0 deletions
|
@ -19,6 +19,8 @@ def main():
|
|||
scanner = ResourcesScanner(input, output, defsoutput)
|
||||
scanner.scan()
|
||||
scanner.close()
|
||||
print "=== Testing definitions output code ==="
|
||||
execfile(defsoutput, {}, {})
|
||||
print "=== Done scanning and generating, now doing 'import ressupport' ==="
|
||||
import ressupport
|
||||
print "=== Done 'import ressupport'. It's up to you to compile Resmodule.c ==="
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue