This is an archive of the discontinued LLVM Phabricator instance.

test suite: fix exception if --platform-name is specified that doesn't start with "remote-"
ClosedPublic

Authored by tfiala on Jan 21 2016, 11:50 AM.

Details

Reviewers
labath
Summary

As would happen if the test suite was given "--platform-name ios-simulator".

Also removes the expected timeouts for Darwin as these are now handled by reruns.

Diff Detail

Event Timeline

tfiala updated this revision to Diff 45575.Jan 21 2016, 11:50 AM
tfiala retitled this revision from to test suite: fix exception if --platform-name is specified that doesn't start with "remote-".
tfiala updated this object.
tfiala added a reviewer: labath.
tfiala updated this object.
tfiala added a subscriber: lldb-commits.
tfiala added a subscriber: emaste.Jan 21 2016, 12:38 PM

Hi Ed - not sure if freebsd still needs the set of expected timeout tests. If you were to run with --rerun-all-issues, then all tests are eligible for a rerun on the first failure/timeout/error/whatever. (expected failure- and the expected timeout-decorated tests are always eligible for rerun regardless of the --rerun-all-issues flag).

If you don't end up needing these expected timeout tests, we can get rid of this whole method.

labath accepted this revision.Jan 22 2016, 12:38 AM
labath edited edge metadata.
labath added inline comments.
packages/Python/lldbsuite/test/dosep.py
1145

I think this should be target = platform_name, so that you can still match the ios-simulator platform below (the point of the regex was to remove the "remote-" prefix, I believe), but I guess it doesn't really matter, as we are getting rid of the whole function anyway...

This revision is now accepted and ready to land.Jan 22 2016, 12:38 AM
tfiala added inline comments.Jan 22 2016, 11:37 AM
packages/Python/lldbsuite/test/dosep.py
1145

Yep, I agree on both counts:

  1. I'll change,
  2. It won't matter if/when Ed has a look at this since I don't think we'll need to call out expected timeouts this way.

I'll adjust and submit the adjustment after I test it.

Thanks!

tfiala closed this revision.Jan 22 2016, 12:25 PM

Closed by svn commit r258542.