VirtualBox

Ignore:
Timestamp:
May 16, 2023 9:11:55 PM (20 months ago)
Author:
vboxsync
Message:

HostDrivers/Support/testcase/tstPin,
ValidationKit/tests/unittests/tdUnitTest1.py: Addressed several
Solaris-specific unit test failures. tstPin and tstContiguous both
attempt to allocate kernel memory with a contiguous physical backing
below 4GB for running code (RTR0MemObjAllocCont() with fExecutable=true)
but this isn't implemented on Solaris. tstLow attempts to allocate
kernel memory with a physical backing below 4GB for running code
(RTR0MemObjAllocLow() with fExecutable=true) which isn't implemented on
Solaris. tstPDMQueue attempts to run driverless, i.e. without the
support driver (vboxdrv), which isn't supported on Solaris. tstPin
exercises other memory operations so the fix simply #ifdef's out the
RTR0MemObjAllocCont() request for Solaris. For the rest of the tests we
update tdUnitTest1.py to move them to the kdTestCasesBuggyPerOs list to
mark them as known to be not applicable at this time and also to not
count their expected failures as part of the final results tally.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/unittests/tdUnitTest1.py

    r99675 r99818  
    102102            'testcase/tstRTStrAlloc': '',               # VERR_NO_STR_MEMORY!
    103103            'testcase/tstRTFileQuerySize-1': '',        # VERR_DEV_IO_ERROR on /dev/null!
     104            'testcase/tstLow' : '',                     # VERR_NOT_SUPPORTED - allocating kernel memory with physical backing
     105                                                        # below 4GB (RTR0MemObjAllocLow) for running code (fExecutable=true)
     106                                                        # isn't implemented.
     107            'testcase/tstContiguous' : '',              # VERR_NOT_SUPPORTED - allocating kernel memory with contiguous physical
     108                                                        # backing below 4GB (RTR0MemObjAllocCont) for running code
     109                                                        # (fExecutable=true) isn't implemented.
     110            'tstPDMQueue' : ''                          # VERR_NOT_SUPPORTED - running without the support driver (vboxdrv) isn't
     111                                                        # supported on Solaris (VMCREATE_F_DRIVERLESS/SUPR3INIT_F_DRIVERLESS).
    104112        },
    105113        'solaris.amd64': {
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