VirtualBox

Ignore:
Timestamp:
Mar 4, 2015 1:55:45 PM (10 years ago)
Author:
vboxsync
Message:

validation kit: allow to overwrite features in the test script, don't assert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r53039 r54621  
    25782578        if fVBox is not None:
    25792579            if fEnv is not None:
    2580                 assert fVBox == fEnv, 'Misconfigured TestBox: fVBox=%s (%s) vs. fEnv=%s (%s)' % (fVBox, sEnum, fEnv, sEnvVar);
     2580                if fEnv != fVBox and not fQuiet:
     2581                    reporter.log('TestBox configuration overwritten: fVBox=%s (%s) vs. fEnv=%s (%s)'
     2582                                 % (fVBox, sEnum, fEnv, sEnvVar));
     2583                return fEnv;
    25812584            return fVBox;
    25822585        if fEnv is not None:
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