Skip to content

Commit 5a6b276

Browse files
author
H. Peter Anvin (Intel)
committed
travis: make travis output list files for debugging
It is so much easier to debug problems with a list file in hand. Generate them, always. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
1 parent 4cdb62f commit 5a6b276

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

travis/nasm-t.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,9 +337,11 @@ def prepare_run_opts(desc):
337337
for t in desc['target']:
338338
if 'output' in t:
339339
if 'option' in t:
340-
opts += t['option'].split(" ") + [desc['_base-dir'] + os.sep + t['output']]
340+
opts += t['option'].split(" ")
341341
else:
342-
opts += ['-o', desc['_base-dir'] + os.sep + t['output']]
342+
opts += ['-o']
343+
outfile = desc['_base-dir'] + os.sep + t['output']
344+
opts += [outfile, '-L+', '-l', outfile + '.lst']
343345
if 'stdout' in t or 'stderr' in t:
344346
if 'option' in t:
345347
opts += t['option'].split(" ")

0 commit comments

Comments
 (0)