syntax errors cause mangled test output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
I had a syntax error, and it made the test runner blow up in a non-obvious way. Its probably fairly straight forward to address (Trial had a similar issue).
:!testr run --failing
running: ./bin/test --subunit --load-list /home/robertc/
Traceback (most recent call last):
File "./bin/test", line 258, in <module>
result = testrunner.run([])
File "/home/
failed = run_internal(
File "/home/
runner.run()
File "/home/
feature.
File "/home/
tests = find_tests(
File "/home/
return hook(real_
File "/home/
return hook(real_
File "/home/
if test.id() in tests:
File "/usr/lib/
return "%s.%s" % (_strclass(
AttributeError: 'StartUpFailure' object has no attribute '_testMethodName'
id: 38 tests: 0
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → Low |
(Actually it's a duplicate of 624084, which itself was marked as a duplicate of 221151.)