VirtualBox

Changeset 62255 in vbox


Ignore:
Timestamp:
Jul 14, 2016 2:03:13 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108770
Message:

tstVMM: don't do STAMR3Dump() by default as this pollutes the testboxes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstVMM.cpp

    r57358 r62255  
    5050*********************************************************************************************************************************/
    5151static uint32_t g_cCpus = 1;
     52static bool     g_fStat = false;                /* don't create log files on the testboxes */
    5253
    5354
     
    213214        { "--cpus",          'c', RTGETOPT_REQ_UINT8 },
    214215        { "--test",          't', RTGETOPT_REQ_STRING },
     216        { "--stat",          's', RTGETOPT_REQ_NOTHING },
    215217    };
    216218    enum
     
    249251                break;
    250252
     253            case 's':
     254                g_fStat = true;
     255                break;
     256
    251257            case 'h':
    252                 RTPrintf("usage: tstVMM [--cpus|-c cpus] [--test <vmm|tm|msrs|known-msrs>]\n");
     258                RTPrintf("usage: tstVMM [--cpus|-c cpus] [-s] [--test <vmm|tm|msrs|known-msrs>]\n");
    253259                return 1;
    254260
     
    286292                if (RT_FAILURE(rc))
    287293                    RTTestFailed(hTest, "VMMDoTest failed: rc=%Rrc\n", rc);
    288                 STAMR3Dump(pUVM, "*");
     294                if (g_fStat)
     295                    STAMR3Dump(pUVM, "*");
    289296                break;
    290297            }
     
    303310                if (RT_FAILURE(rc))
    304311                    RTTestFailed(hTest, "VMMDoTest failed: rc=%Rrc\n", rc);
    305                 STAMR3Dump(pUVM, "*");
     312                if (g_fStat)
     313                    STAMR3Dump(pUVM, "*");
    306314                break;
    307315            }
Note: See TracChangeset for help on using the changeset viewer.

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