Dropped csv field prefixes in scripts
The original idea was to allow merging a whole bunch of different csv results into a single lfs.csv file, but this never really happened. It's much easier to operate on smaller context-specific csv files, where the field prefix: - Doesn't really add much information - Requires more typing - Is confusing in how it doesn't match the table field names. We can always use summary.py -fcode_size=size to add prefixes when necessary anyways.
This commit is contained in:
+4
-4
@@ -1034,8 +1034,8 @@ def run_stage(name, runner, test_ids, stdout_, trace_, output_, **args):
|
||||
'suite': suite,
|
||||
'case': case,
|
||||
**defines,
|
||||
'test_passed': '1/1',
|
||||
'test_time': '%.6f' % (
|
||||
'passed': '1/1',
|
||||
'time': '%.6f' % (
|
||||
time.time() - last_time)})
|
||||
elif op == 'skipped':
|
||||
locals.seen_perms += 1
|
||||
@@ -1096,7 +1096,7 @@ def run_stage(name, runner, test_ids, stdout_, trace_, output_, **args):
|
||||
output_.writerow({
|
||||
'suite': suite,
|
||||
'case': case,
|
||||
'test_passed': '0/1',
|
||||
'passed': '0/1',
|
||||
**defines})
|
||||
|
||||
# race condition for multiple failures?
|
||||
@@ -1230,7 +1230,7 @@ def run(runner, test_ids=[], **args):
|
||||
if args.get('output'):
|
||||
output = TestOutput(args['output'],
|
||||
['suite', 'case'],
|
||||
['test_passed', 'test_time'])
|
||||
['passed', 'time'])
|
||||
|
||||
# measure runtime
|
||||
start = time.time()
|
||||
|
||||
Reference in New Issue
Block a user