Page MenuHomePhabricator

tests: check WIFEXITED to determine if test exited before using exit status
ClosedPublic

Authored by zmike on Jul 17 2018, 7:54 AM.

Details

Summary

the exit status value is not valid unless the process has terminated normally
by calling exit() or _exit(), so only use the status if this is true. otherwise
mark the process as a failed test
Depends on D6597

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zmike created this revision.Jul 17 2018, 7:54 AM
zmike requested review of this revision.Jul 17 2018, 7:54 AM
ManMower accepted this revision.Jul 17 2018, 7:56 PM
This revision is now accepted and ready to land.Jul 17 2018, 7:56 PM
This revision was automatically updated to reflect the committed changes.