Closed WeijieWanng closed 8 months ago
An issue (number 2072) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#2072 ), to facilitate working group processes.
This GitHub issue will continue to be the main site of discussion.
Thanks for this report. Some of the issues you identified (always empty tests) are resolved in the 1.0.29.0 release just published. The next release will have a few more small fixes.
This has been fixed in the 1.0.30.0 release. A newer release is now the latest, I accidentally missed closing this issue when releasing 1.0.30.0.
In
v1.0.27.0
, we found that the total number of test cases is inconsistent with the number in theopenxr_conformance.xml
. For example, we run non-interactive test cases on the Android platform.The number of test cases is
61
in conformance_log.xml, but the number of test cases listed in openxr_conformance.xml is57
. The below 4 test cases are executed inconformance_log.xml
, but they are not listed inopenxr_conformance.xml
.XR_KHR_convert_timespec_time
//It is enabled(or disabled) by macroXR_USE_TIMESPEC
XR_KHR_headless
//It is enabled(or disabled) by macroXR_KHR_headless
XR_EXT_performance_settings
//It is an empty test case.XR_EXT_local_floor
We checked the source code and found that this is caused by statistical rules. The current test report
openxr_conformance.xml
is prone to confusion. From our perspective, it will be better if we use the defined macro SKIP to do some optimization.Here is the detailed analysis:
openxr_conformance.xml
:assertions
orstdOut
is not empty orstdErr
is not empty. https://github.com/KhronosGroup/OpenXR-CTS/blob/3d02d70eab669b72429cb6065e65b817ba34c1dd/src/conformance/framework/catch_reporter_cts.cpp#L217XR_KHR_convert_timespec_time
, the macroXR_USE_TIMESPEC
is not defined, it is the equivalent of an empty test case, so it doesn’t meet the rule that writes inopenxr_conformance.xml
.Proposal:
openxr_conformance.xml
.https://github.com/KhronosGroup/OpenXR-CTS/blob/3d02d70eab669b72429cb6065e65b817ba34c1dd/src/conformance/conformance_test/test_XR_KHR_headless.cpp#L32
Proposal:
openxr_conformance.xml
.https://github.com/KhronosGroup/OpenXR-CTS/blob/3d02d70eab669b72429cb6065e65b817ba34c1dd/src/conformance/conformance_test/test_XR_EXT_performance_settings.cpp#L22 Proposal:
openxr_conformance.xml
. https://github.com/KhronosGroup/OpenXR-CTS/blob/3d02d70eab669b72429cb6065e65b817ba34c1dd/src/conformance/conformance_test/test_XR_EXT_local_floor.cpp#L33 Proposal: