VirtualBox

Ignore:
Timestamp:
Apr 20, 2023 7:57:17 AM (20 months ago)
Author:
vboxsync
Message:

Validation Kit/Shared Folders: Added a "basic" test definition placeholder, to be able to run the test driver w/o "fsperf" or "all", also added "--add-shared-folders-quick", which does the same thing. That way we can split up testing further if needed.

File:
1 edited

Legend:

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

    r99463 r99477  
    6464        base.SubTestDriverBase.__init__(self, oTstDrv, 'add-shared-folders', 'Shared Folders');
    6565
    66         self.asTestsDef         = [ 'fsperf', ];
     66        # Note: 'basic' acts as a placeholder, to be able to run w/o 'fsperf' or 'all'.
     67        self.asTestsDef         = [ 'basic', 'fsperf', ];
    6768        self.asTests            = self.asTestsDef;
    6869        self.asExtraArgs        = [];
     
    8990                                                 % (s, ' '.join(self.asTestsDef)));
    9091            return iNext;
     92        if asArgs[iArg] == '--add-shared-folders-quick':
     93            self.asTests = [ 'basic' ];
     94            return iArg + 1;
    9195        if asArgs[iArg] == '--add-shared-folders-extra-arg':
    9296            iArg += 1;
     
    102106        reporter.log('  --add-shared-folders-extra-arg <fsperf-arg>');
    103107        reporter.log('      Adds an extra FsPerf argument.  Can be repeated.');
     108        reporter.log('  --add-shared-folders-quick');
     109        reporter.log('      Skips lengthly tests (such as FsPerf).');
    104110
    105111        return True;
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