VirtualBox

Ignore:
Timestamp:
Oct 25, 2022 8:06:17 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154282
Message:

ValidationKit/tests/unittests/tdUnitTest1.py: Skip checking for black list / buggy tests list etc. when executing with --only-whitelist. This allows a unit test being black listed AND white listed at the same time, so that it only gets executed when --only-whitelist is being used (but skipped on the rest). Handy for unit tests which require a full-blown OS (e.g. a guest VM) instead of a (test) box which only has minimal dependencies.

Added testcase/tstClipboardMockHGCM, so that it only executes remotely (nested) on the guest VMS for the reasons above. [pylint]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/unittests/tdUnitTest1.py

    r97288 r97291  
    12141214                    continue;
    12151215
    1216                 elif self._isExcluded(sName, self.kdTestCasesBuggy):
     1216                if self._isExcluded(sName, self.kdTestCasesBuggy):
    12171217                    reporter.testStart(sName);
    12181218                    reporter.log('%s: Skipping, buggy in general.' % (sName,));
     
    12211221                    continue;
    12221222
    1223                 elif self._isExcluded(sName, dTestCasesBuggyForHostOs):
     1223                if self._isExcluded(sName, dTestCasesBuggyForHostOs):
    12241224                    reporter.testStart(sName);
    12251225                    reporter.log('%s: Skipping, buggy on %s.' % (sName, utils.getHostOs(),));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette