def perform(): output_file = dataset.getTemporaryOutputPath() reference_file = dataset.getReferenceOutputPath() compare = os.path.join("tools", "compare-output") rc = process.spawnwaitl(compare, compare, reference_file, output_file) # Program exited with error, or mismatch in output? if rc != 0: return False return True
def perform(): output_file = dataset.getTemporaryOutputFile(benchmark).getPath() reference_file = dataset.getReferenceOutputPath() compare = os.path.join('tools', 'compare-output') rc = process.spawnwaitl(compare, compare, reference_file, output_file) # Program exited with error, or mismatch in output? if rc != 0: return False return True
def perform(): output_file = dataset.getTemporaryOutputFile(benchmark).getPath() reference_file = dataset.getReferenceOutputPath() #zhangfeng zf print benchmark.path print output_file print reference_file compare = os.path.join('tools', 'compare-output') print compare rc = process.spawnwaitl(compare, compare, reference_file, output_file) # Program exited with error, or mismatch in output? if rc != 0: return False return True