Bug 55466 - run-api-tests doesn't notice test failures when running a 32-bit build on a 64-bit system
Summary: run-api-tests doesn't notice test failures when running a 32-bit build on a 6...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, PlatformOnly
Depends on:
Blocks:
 
Reported: 2011-03-01 07:03 PST by Adam Roben (:aroben)
Modified: 2011-05-17 13:44 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2011-03-01 07:03:46 PST
To reproduce on a 64-bit system:

1. Add a TEST_ASSERT(false) to any API test (e.g., WebKit2/WKString)
2. set-webkit-configuration --32-bit
3. build-webkit
4. run-api-tests

run-api-tests says that the test passed, even though it did not.
Comment 1 Adam Roben (:aroben) 2011-03-01 07:04:10 PST
I think this is because run-api-tests runs TestWebKitAPI via the arch utility in this case, and arch isn't propagating TestWebKitAPI's return code.
Comment 2 Adam Roben (:aroben) 2011-03-01 07:04:37 PST
<rdar://problem/9068438>