fail on 0 functions id'd in dwarf

This commit is contained in:
Ned Williamson 2015-01-19 13:59:42 -05:00
parent dcacd2ebe7
commit 0e0e7d8ef9

View File

@ -96,7 +96,8 @@ def test_files(fns,quiet=False,profile=False):
len(missed), total_fxns)
else:
for engine,functions in engine_functions.iteritems():
print "{} {}: {} engine found {} function(s). (dwarf info unavailable)".format(ok_blue, short_fn, engine, len(functions))
status = fail if len(functions) == 0 else ok_blue
print "{} {}: {} engine found {} function(s). (dwarf info unavailable)".format(status, short_fn, engine, len(functions))