Use JSON, unifying settings.

This commit is contained in:
Christoffer Lerno
2022-02-15 16:41:49 +01:00
committed by Christoffer Lerno
parent fd82f9685f
commit 7226bff6ea
26 changed files with 1070 additions and 2988 deletions

View File

@@ -112,7 +112,7 @@ class Issues:
debug = "-g "
opts = ""
for opt in self.opts:
opts += ' -' + opt
opts += ' ' + opt
code = subprocess.run(self.conf.compiler + target + ' -O0 ' + opts + ' ' + debug + args, universal_newlines=True, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
os.chdir(self.conf.cwd)
if code.returncode != 0 and code.returncode != 1: