tests: use name as class name

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
pull/79/head
Igor Gnatenko 10 years ago
parent 99a955491d
commit 7249ff9b00
  1. 2
      run_tests.py

@ -258,7 +258,7 @@ def run_tests():
(msg, stdo, stde) = run_test(t, name != 'failing')
log_text_file(logfile, t, msg, stdo, stde)
current_test = ET.SubElement(current_suite, 'testcase', {'name' : os.path.split(t)[-1],
'classname' : 'dummy'})
'classname' : name})
if msg != '':
ET.SubElement(current_test, 'failure', {'message' : msg})
stdoel = ET.SubElement(current_test, 'system-out')

Loading…
Cancel
Save