Closed Bug 704355 Opened 13 years ago Closed 13 years ago

when xpcshell cannot be executed, make xpcshell-tests-remote does not detect failure

Categories

(Testing :: XPCShell Harness, defect)

x86
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 728298

People

(Reporter: gbrown, Assigned: gbrown)

Details

If a library is missing, or some other problem causes xpcshell itself to fail, the failure is not detected or reported when running "make xpcshell-tests-remote". It looks like every test passes, but no tests are actually run. I noticed this when running with the adb devicemanager...not sure if it happens with sut or not.
Assignee: nobody → gbrown
I still haven't had opportunity to investigate this issue properly. However, I notice that SUT returns a return code along with stdout; I am not sure if the xpcshell script is checking that. Also, there is no ADB equivalent, and this bug was reported in an ADB context. With devicemanagerADB, we are at best checking that adb executed. Consider adding "echo $?" to the adb command line to retrieve the last command's return code.
Bugs 728298 and 705192 change the way that xpcshell is launched and monitored, effectively addressing this bug. If xpcshell cannot be launched, crashes, or hangs, the associated test now fails.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.