meson: error out in script if gperf preprocessing failed
This commit is contained in:
parent
b7e4931582
commit
4b142e9241
|
@ -12,7 +12,7 @@ if __name__== '__main__':
|
||||||
print (args[0].output)
|
print (args[0].output)
|
||||||
|
|
||||||
cpp = args[1]
|
cpp = args[1]
|
||||||
ret = subprocess.run(cpp + [args[0].input], stdout=subprocess.PIPE)
|
ret = subprocess.run(cpp + [args[0].input], stdout=subprocess.PIPE, check=True)
|
||||||
|
|
||||||
stdout = ret.stdout.decode('utf8')
|
stdout = ret.stdout.decode('utf8')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue