VirtualBox

Ignore:
Timestamp:
Jun 11, 2019 12:44:53 AM (6 years ago)
Author:
vboxsync
Message:

ValKit: More work on mating unattended OS installation and GA testing. bugref:9151

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddSharedFolders1.py

    r79067 r79071  
    5151    """
    5252
    53     def __init__(self, oTstDrv):
     53    def __init__(self, oTstDrv, fUseAltFsPerfPathForWindows = False):
    5454        base.SubTestDriverBase.__init__(self, oTstDrv, 'add-shared-folders', 'Shared Folders');
    5555
    56         self.asTestsDef  = [ 'fsperf', ];
    57         self.asTests     = self.asTestsDef;
    58         self.asExtraArgs = [];
     56        self.asTestsDef                     = [ 'fsperf', ];
     57        self.asTests                        = self.asTestsDef;
     58        self.asExtraArgs                    = [];
     59        self.sGstFsPerfPath                 = '${CDROM}/vboxvalidationkit/${OS/ARCH}/FsPerf${EXESUFF}';
     60        self.sGstFsPerfPathAlt              = 'C:/Apps/FsPerf${EXESUFF}';
     61        self.fUseAltFsPerfPathForWindows    = fUseAltFsPerfPathForWindows;
    5962
    6063    def parseOption(self, asArgs, iArg):
     
    204207            asArgs.extend(self.asExtraArgs);
    205208            reporter.log2('Starting guest FsPerf (%s)...' % (asArgs,));
    206             fRc = self.oTstDrv.txsRunTest(oTxsSession, 'FsPerf', 30 * 60 * 1000,
    207                                           '${CDROM}/vboxvalidationkit/${OS/ARCH}/FsPerf${EXESUFF}', asArgs);
     209            sFsPerfPath = self.sGstFsPerfPath;
     210            if oTestVm.isWindows() and self.fUseAltFsPerfPathForWindows: # bird: Temp hack till we get UDF cloning implemented.
     211                sFsPerfPath = self.sGstFsPerfPathAlt;                    #       Helps making unattended install tests work.
     212            fRc = self.oTstDrv.txsRunTest(oTxsSession, 'FsPerf', 30 * 60 * 1000, sFsPerfPath, asArgs);
    208213            reporter.log2('FsPerf -> %s' % (fRc,));
    209214
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