VirtualBox

Changeset 33351 in vbox


Ignore:
Timestamp:
Oct 22, 2010 1:18:25 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66935
Message:

tstRunTestcases: Trying to make it work again...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/testcase/tstRunTestcases.cpp

    r28800 r33351  
    4747#if 1 // slow stuff
    4848    "testcase/tstFile",
    49     "testcase/tstAvl",
     49    "testcase/tstRTAvl",
    5050    "testcase/tstSemMutex",
    5151    "testcase/tstVD",
     
    6868    "testcase/tstLdrObjR0",
    6969    "testcase/tstMove",
    70     "testcase/tstR0ThreadPreemption", /* r0 driver, not directly executable */
    71     "testcase/tstRTR0MemUserKernel", /* r0 driver, not directly executable */
     70#if !defined(RT_OS_LINUX)
     71    "testcase/tstRTR0Timer",
     72#endif
    7273    "testcase/tstRunTestcases",
    7374    "testcase/tstRTS3",             /* requires parameters <access key>, <secret key> */
     
    8081    "./tstAnimate",
    8182    "./tstAPI",
     83    "./tstCollector",               /* takes forever */
    8284    "./tstHeadless",
    8385    "./tstHeadless2",
     
    116118static bool IsTestcaseIncluded(const char *pszTestcase)
    117119{
     120    /* exclude special modules based on extension. */
     121    const char *pszExt = RTPathExt(pszTestcase);
     122    if (   !RTStrICmp(pszExt, ".r0")
     123        || !RTStrICmp(pszExt, ".gc")
     124        || !RTStrICmp(pszExt, ".sys")
     125        || !RTStrICmp(pszExt, ".ko")
     126        || !RTStrICmp(pszExt, ".o")
     127        || !RTStrICmp(pszExt, ".obj")
     128        || !RTStrICmp(pszExt, ".lib")
     129        || !RTStrICmp(pszExt, ".a")
     130        || !RTStrICmp(pszExt, ".so")
     131        || !RTStrICmp(pszExt, ".dll")
     132        || !RTStrICmp(pszExt, ".dylib")
     133        || !RTStrICmp(pszExt, ".tmp")
     134        || !RTStrICmp(pszExt, ".log")
     135       )
     136        return false;
     137
     138    /* check by name */
    118139    char *pszDup = RTStrDup(pszTestcase);
    119140    if (pszDup)
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