Adds @skipIfPlatform and @skipUnlessPlatform decorators which will skip if / unless the target platform is in the provided platform list.
Details
Details
- Reviewers
clayborg tberghammer - Commits
- rG13c7ad9cd245: Replace sys.platform skips in tests with @skip decorators which check against…
rLLDB233547: Replace sys.platform skips in tests with @skip decorators which check against…
rL233547: Replace sys.platform skips in tests with @skip decorators which check against…
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This causes massive test run failures on FreeBSD because the triple OS component is 'freebsd10.1'
Comment Actions
I can update this to continue to do a prefix string check to ignore version number. Why do we have a version number in the OS component on freebsd but not the other platforms as far as I can tell?
Comment Actions
This change (committed in rev.233547) caused many tests to no longer run on our OSX Jenkins build. Since we check that a minimum number of tests run, our build is now failing. We run the tests using:
./dosep.py --options "-v --executable $INSTALLDIR/bin/lldb" 2>&1 | tee $INSTALLDIR/test_out.log || true
Tests which used to run (like test_NSString_expr_commands_with_dwarf (TestObjCMethods2.FoundationTestCase2) and 11 other tests in that same file) aren't reported as skipped - they are simply absent from the log.
Please rework this patch? Thank you.