Open gmmo opened 1 year ago
I am building the VK-CTS for android using the following command:
python scripts/android/build_apk.py --sdk ~/Android/Sdk --ndk ~/Android/Sdk/ndk/26.1.10909125/ --native-build-type Debug
The reason is that I want to try to debug the code, but when I pass --native-build-type Debug and try to run one of the tests as below:
--native-build-type Debug
adb shell "am start -n com.drawelements.deqp/android.app.NativeActivity -e cmdLine 'deqp --deqp-case=dEQP-VK.draw.dynamic_rendering.partial_secondary_cmd_buff.implicit_sample_shading.sample_id_static_use --deqp-log-filename=/sdcard/vk_cts/test.qpa'"
the test.qpa result is corrupted as below. This is the entire result, it gets cut off.
#sessionInfo releaseName vulkan-cts-1.3.7.0-129-g4340e6e70bc62746e7cd03e8d03541e446f4f17f #sessionInfo releaseId 0x4340e6e7 #sessionInfo targetName "Android" #sessionInfo commandLineParameters "deqp --deqp-case=dEQP-VK.draw.dynamic_rendering.partial_secondary_cmd_buff.implicit_sample_shading.sample_id_static_use --deqp-log-filename=/sdcard/vk_cts/release.qpa" #beginSession #beginTestCaseResult dEQP-VK.draw.dynamic_rendering.partial_secondary_cmd_buff.implicit_sample_shading.sample_id_static_use <?xml version="1.0" encoding="UTF-8"?> <TestCaseResult Version="0.3.4" CasePath="dEQP-VK.draw.dynamic_rendering.partial_secondary_cmd_buff.implicit_sample_shading.sample_id_static_use" CaseType="SelfValidate"> <Section Name="frag" Description="Program: frag
But when I build without the flag:
python scripts/android/build_apk.py --sdk ~/Android/Sdk --ndk ~/Android/Sdk/ndk/26.1.10909125/
the .qpa file looks correct.
Is this expected? How can build the source in debug?
thank you very much for your time. Gustavo.
Is this expected?
not really
How can build the source in debug?
--native-build-type Debug is the correct way to build the CTS in debug mode
I am building the VK-CTS for android using the following command:
The reason is that I want to try to debug the code, but when I pass
--native-build-type Debug
and try to run one of the tests as below:the test.qpa result is corrupted as below. This is the entire result, it gets cut off.
But when I build without the flag:
the .qpa file looks correct.
Is this expected? How can build the source in debug?
thank you very much for your time. Gustavo.