Changeset 99801 in vbox
- Timestamp:
- May 15, 2023 10:58:23 PM (19 months ago)
- Location:
- trunk/src/VBox/Runtime/testcase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/Makefile.kmk
r99792 r99801 360 360 tstRTCRest-1_TEMPLATE = VBoxR3TstExe 361 361 tstRTCRest-1_SOURCES = tstRTCRest-1.cpp 362 if ("$(KBUILD_TARGET)" == "solaris" && $(VBOX_GCC_VERSION_CXX) <= 70500) 363 tstRTCRest-1_DEFS = VBOX_SOLARIS_WITHOUT_XPG6_ENABLED 364 endif 362 365 endif 363 366 -
trunk/src/VBox/Runtime/testcase/tstRTCRest-1.cpp
r99775 r99801 774 774 RTERRINFOSTATIC ErrInfo; 775 775 { 776 /* Some linux systems and probably all solaris fail to parse the longer MIN string, so just detect and skip. */776 /* Some linux systems and probably all Solaris fail to parse the longer MIN string, so just detect and skip. */ 777 777 bool fGroksMinString = true; 778 778 #if defined(RT_OS_LINUX) || defined(RT_OS_SOLARIS) … … 780 780 int rcTmp = RTJsonParseFromString(&hTmpValue, TST_DBL_MIN_STRING1, NULL); 781 781 RTJsonValueRelease(hTmpValue); 782 if (rcTmp == VERR_INVALID_PARAMETER )782 if (rcTmp == VERR_INVALID_PARAMETER || rcTmp == VERR_OUT_OF_RANGE) 783 783 fGroksMinString = false; 784 784 #endif … … 890 890 RTTESTI_CHECK_RC(fromString(&obj4, "false", NULL, RT_XSTR(__LINE__)), VERR_NO_DIGITS); 891 891 892 #if (!defined(RT_OS_ SOLARIS) && !defined(RT_OS_WINDOWS)) || RT_MSC_PREREQ(RT_MSC_VER_VS2015)892 #if (!defined(RT_OS_WINDOWS) && !defined(VBOX_SOLARIS_WITHOUT_XPG6_ENABLED)) || RT_MSC_PREREQ(RT_MSC_VER_VS2015) 893 893 RTTESTI_CHECK_RC(fromString(&obj4, " 0x42 ", &ErrInfo, RT_XSTR(__LINE__)), VINF_SUCCESS); 894 894 RTTESTI_CHECK(obj4.m_rdValue == 66.0);
Note:
See TracChangeset
for help on using the changeset viewer.