This is an archive of the discontinued LLVM Phabricator instance.

Skip TestPluginCommands.py if host lldb library is incompatible with remote.
ClosedPublic

Authored by flackr on May 14 2015, 7:20 AM.

Details

Summary

TestPluginCommands.py attempts to build a library which links against the host built lldb library. This will only work if the remote is compatible with binaries produced by the host.

Diff Detail

Repository
rL LLVM

Event Timeline

flackr updated this revision to Diff 25772.May 14 2015, 7:20 AM
flackr retitled this revision from to Skip TestPluginCommands.py if host lldb library is incompatible with remote..
flackr updated this object.
flackr edited the test plan for this revision. (Show Details)
flackr added a reviewer: tberghammer.
flackr set the repository for this revision to rL LLVM.
flackr added a subscriber: Unknown Object (MLST).
flackr updated this revision to Diff 25773.May 14 2015, 7:22 AM

Use + to concatenate the platform lists.

tberghammer requested changes to this revision.May 14 2015, 7:29 AM
tberghammer edited edge metadata.
tberghammer added inline comments.
test/functionalities/plugins/commands/TestPluginCommands.py
23 ↗(On Diff #25773)

We can remove this as the new decorator should catch this case

test/lldbtest.py
730 ↗(On Diff #25773)

Please check the compatibility of the architectures also.

This revision now requires changes to proceed.May 14 2015, 7:29 AM
flackr updated this revision to Diff 25836.May 14 2015, 6:47 PM
flackr edited edge metadata.

Check for compatible architecture as well as platform.

test/functionalities/plugins/commands/TestPluginCommands.py
23 ↗(On Diff #25773)

Done.

test/lldbtest.py
730 ↗(On Diff #25773)

Done, needed to switch to a test case wrapper to access the self object.

tberghammer accepted this revision.May 15 2015, 3:33 AM
tberghammer edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 15 2015, 3:33 AM
This revision was automatically updated to reflect the committed changes.