Test cmd do not support add parameters with "nonDisconnectableDevices"
fukewei opened this issue · 3 comments
we run [actions][interactive] test cases on the Android platform, and we want to add parameters with "nonDisconnectableDevices" like following:
adb shell am start-activity -S -n org.khronos.openxr.cts/android.app.NativeActivity --esa args "[actions][interactive],-I,khr/simple_controller" -e hands left -e nonDisconnectableDevices true -e xmlFilename interactive_action_simple_controller.xml
However, we cannot see from the logs or test phenomena that this parameter works.
the log is:"OpenXR_Conformance: Non-disconnectable devices: no"
and the test did not skip the test items related to turn off.
An issue (number 2080) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#2080 ), to facilitate working group processes.
This GitHub issue will continue to be the main site of discussion.
With how it is written today, nonDisconnectableDevices needs to be in the args. i.e.: adb shell am start-activity -S -n org.khronos.openxr.cts/android.app.NativeActivity --esa args "[actions][interactive],-I,khr/simple_controller,--nonDisconnectableDevices" -e xmlFilename interactive_action_simple_controller.xml
Thank you very much for your help. The command you provided effectively solved my problem.