setup.py: Fail on parse_chip_data_xml failures
It could fail if the right perl packages aren't installed.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Icc4501e9d8b513a4cad4c197525fd99853ef7c19
diff --git a/xml/setup.py b/xml/setup.py
index 1ae5d2f..23a9539 100644
--- a/xml/setup.py
+++ b/xml/setup.py
@@ -44,7 +44,7 @@
# configurable via the package config in the bitbake recipes.
for chip in ('p10', 'explorer'):
subprocess.run([ './parse_chip_data_xml', '--json',
- '-i', chip, '-o', data_dir ])
+ '-i', chip, '-o', data_dir ], check=True)
# Call the superclass run() to ensure everything else builds.
super().run()