Commit b9cceaa
committed
py/makeqstrdefs.py: Propagate out errors from parallel pp step.
Commit e6380fa changed the pp step from
`subprocess.check_output()` to use `subprocess.Popen()`, but did not check
the return code of the process. That means any process errors (eg compiler
error) are swallowed and do not stop the build.
This commit fixes that by explicitly checking `proc.returncode` once the
process is complete, and raising an exception.
Signed-off-by: Damien George <damien@micropython.org>1 parent 228d96d commit b9cceaa
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| |||
0 commit comments