VirtualBox

Changeset 104173 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
Apr 5, 2024 9:38:49 AM (13 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162601
Message:

VMM/IEM: ARM64 assembly renditions of shl, shr and sar assembly helpers. bugref:10376

File:
1 edited

Legend:

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

    r104156 r104173  
    256256
    257257static unsigned     g_cVerbosity = 0;
     258static bool         g_fVerboseSkipping = true;
    258259
    259260
     
    12461247static bool SubTestAndCheckIfEnabled(const char *pszName)
    12471248{
    1248     RTTestSub(g_hTest, pszName);
    1249     if (IsTestEnabled(pszName))
    1250         return true;
    1251     RTTestSkipped(g_hTest, g_cVerbosity > 0 ? "excluded" : NULL);
     1249    bool const fEnabled = IsTestEnabled(pszName);
     1250    if (g_fVerboseSkipping || fEnabled)
     1251    {
     1252        RTTestSub(g_hTest, pszName);
     1253        if (fEnabled)
     1254            return true;
     1255        RTTestSkipped(g_hTest, g_cVerbosity > 0 ? "excluded" : NULL);
     1256    }
    12521257    return false;
    12531258}
     
    1000910014    uint32_t const      cDefaultTests = 96;
    1001010015    uint32_t            cTests        = cDefaultTests;
     10016
    1001110017    RTGETOPTDEF const   s_aOptions[]  =
    1001210018    {
     
    1003710043        { "--verbose",              'v', RTGETOPT_REQ_NOTHING },
    1003810044        { "--quiet",                'q', RTGETOPT_REQ_NOTHING },
     10045        { "--quiet-skipping",       'Q', RTGETOPT_REQ_NOTHING },
    1003910046    };
    1004010047
     
    1013010137                g_cVerbosity++;
    1013110138                break;
     10139            case 'Q':
     10140                g_fVerboseSkipping = false;
     10141                break;
    1013210142
    1013310143            case 'h':
    10134                 RTPrintf("usage: %s <-g|-t> [options]\n"
     10144                RTPrintf("usage: %Rbn <-g|-t> [options]\n"
    1013510145                         "\n"
    1013610146                         "Mode:\n"
     
    1018110191                         "  -q, --quiet\n"
    1018210192                         "    Noise level.  Default: --quiet\n"
    10183                          , argv[0], cDefaultTests);
     10193                         "  -Q, --quiet-skipping\n"
     10194                         "    Don't display skipped tests.\n"
     10195                         "\n"
     10196                         "Tip! When working on a single instruction, use the the -I and -Q options to\n"
     10197                         "     restrict the testing: %Rbn -tiQI \"shr_*\"\n"
     10198                         , argv[0], cDefaultTests, argv[0]);
    1018410199                return RTEXITCODE_SUCCESS;
    1018510200            default:
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