- cmd = string.join([cc,ccflags,ccdef,inputfilename])
+ if testname[-3:] == "C89":
+ ccstd = compilermode["C89"]
+ elif testname[-3:] == "C99":
+ ccstd = compilermode["C99"]
+ else:
+ ccstd = ""
+ cmd = string.join([cc,ccflags,ccstd,ccdef,inputfilename])