The decorators to skip if or unless certain platforms relied on calling skipTest, which only worked if they were decorating individual test cases. However for decorating entire classes it needs different behavior. This behavior is already encapsulated in unittest2.skipIf and unittest2.skipUnless so this patch modifies the platform decorators to use these unittest skip decorators.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Haven't run full tests, but patch runs previously skipped tests on OSX for:
./dotest.py -v -t --executable $LLDB_EXEC ./lang/objc/foundation
which used to run only 2 tests, and now runs 31. lgtm!