diff options
author | Christian Tismer <tismer@stackless.com> | 2019-03-19 17:00:08 +0100 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2019-04-08 13:55:43 +0000 |
commit | 728e94e37d44229d8f31dee4761eaf66f89bf01e (patch) | |
tree | 98b7c7a89bdb1e23b2f4863b6d80fdcc4061ae2c /build_scripts | |
parent | afd4ee23124541c23fe58639f138ed7689cac562 (diff) |
Automatically Test Small Example With PyInstaller
A simple hello.py script was modified for running in
PyInstaller and stopping to execute after 2 seconds.
The reason is to test that PyInstaller works correctly
together with the embedded mode of the signature
extension on all platforms.
The script did first not work on Windows. This is now
solved, after an import in pyside2_config.py is fixed.
Currently, there are several configuration errors in COIN.
Errors are therefore skipped in the PyInstaller build.
The test tests only if the generated script works.
Change-Id: I7a1b1e738d523b83cc3fe5beafa7e2579f9c7f48
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts')
-rw-r--r-- | build_scripts/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_scripts/utils.py b/build_scripts/utils.py index 6aafb7588..460c1b21f 100644 --- a/build_scripts/utils.py +++ b/build_scripts/utils.py @@ -392,7 +392,7 @@ def run_process_output(args, initial_env=None): std_out = subprocess.Popen(args, env = initial_env, universal_newlines = 1, - stdout=subprocess.PIPE).stdout + stdout=subprocess.PIPE).stdout result = [] for raw_line in std_out.readlines(): line = raw_line if sys.version_info >= (3,) else raw_line.decode('utf-8') |