aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorRobert Flack <flackr@gmail.com>2015-04-09 18:07:58 +0000
committerRobert Flack <flackr@gmail.com>2015-04-09 18:07:58 +0000
commit068898cb83e545abeb708bf3ff8b372c61c336d5 (patch)
treea6f720ee29741a14a4f79a9fd5ff998c1347cdb0 /clang/lib/CodeGen/CodeGenFunction.cpp
parent53703d0862c1454c222157e5d557b1053016e4c2 (diff)
downloadllvm-068898cb83e545abeb708bf3ff8b372c61c336d5.zip
llvm-068898cb83e545abeb708bf3ff8b372c61c336d5.tar.gz
llvm-068898cb83e545abeb708bf3ff8b372c61c336d5.tar.bz2
Fix @skipUnlessPlatform and @skipIfPlatform decorators to work on classes.
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 modifies the platform decorators to use these unittest skip decorators. Test Plan: ./dotest.py -t -p TestObjCMethods2.py See skipped tests on linux, and see tests run on macosx. Differential Revision: http://reviews.llvm.org/D8903 llvm-svn: 234514
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions