VirtualBox

Ignore:
Timestamp:
Jun 30, 2015 9:58:01 PM (9 years ago)
Author:
vboxsync
Message:

tdUnitTest1.py: Don't copy hardened windows testcases to the testcase/ subdirectory because they'll have trouble locating VMMR0.r0 and friends.

File:
1 edited

Legend:

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

    r56295 r56714  
    559559          and self.sUnitTestsPathBase != self.sVBoxInstallRoot:
    560560
    561             sDstDir = os.path.join(self.sVBoxInstallRoot, sTestCaseSubDir);
     561            if utils.getHostOs() == 'win':
     562                sDstDir = self.sVBoxInstallRoot; # Have trouble finding VMMR0.r0 and friends if in sub-dir.
     563            else:
     564                sDstDir = os.path.join(self.sVBoxInstallRoot, sTestCaseSubDir);
    562565            if not os.path.exists(sDstDir):
    563566                self._hardenedMkDir(sDstDir);
Note: See TracChangeset for help on using the changeset viewer.

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