VirtualBox

Ignore:
Timestamp:
Aug 30, 2021 10:41:20 AM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Increased (release log) logging of VKAT running on the host. ​bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/audio/tdAudioTest.py

    r90989 r90994  
    224224        asEnvTmp = os.environ.copy();
    225225        if asEnv:
    226             asEnvTmp = asEnvTmp + asEnv;
     226            for sEnv in asEnv:
     227                sKey, sValue = sEnv.split('=');
     228                reporter.log2('Setting env var \"%s\" -> \"%s\"' % (sKey, sValue));
     229                os.environ[sKey] = sValue; # Also apply it to the current environment.
     230                asEnvTmp[sKey]   = sValue;
    227231
    228232        if  fAsAdmin \
     
    469473
    470474        # Enable more verbose logging for all groups. Disable later again?
    471         asEnv = {};
    472         asEnv[ 'VKAT_RELEASE_LOG' ] = 'all.e.l.l2.l3.f+audio_test.e.l.l2.l3.f';
     475        asEnv  = [ 'VKAT_RELEASE_LOG=all.e.l.l2.l3.f+audio_test.e.l.l2.l3.f' ];
    473476
    474477        # Build the base command line, exclude all tests by default.
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