xref: /aosp_15_r20/external/deqp/README-android.md (revision 35238bce31c2a825756842865a792f8cf7f89930)
1*35238bceSAndroid Build Coastguard Worker# dEQP for Android
2*35238bceSAndroid Build Coastguard Worker
3*35238bceSAndroid Build Coastguard Worker## Notes on `deqp-binary`
4*35238bceSAndroid Build Coastguard Worker
5*35238bceSAndroid Build Coastguard Worker`deqp-binary` (defined in `Android.bp`) allows running dEQP offscreen
6*35238bceSAndroid Build Coastguard Workerfrom a single binary via adb shell. Not all tests will work,
7*35238bceSAndroid Build Coastguard Workerbut most should be fine.
8*35238bceSAndroid Build Coastguard Worker
9*35238bceSAndroid Build Coastguard WorkerExample usage:
10*35238bceSAndroid Build Coastguard Worker
11*35238bceSAndroid Build Coastguard Worker```sh
12*35238bceSAndroid Build Coastguard Workercd $ANDROID_PRODUCT_OUT/testcases/deqp-binary/arm64
13*35238bceSAndroid Build Coastguard Workeradb push ./ /data/local/tmp/
14*35238bceSAndroid Build Coastguard Workeradb shell "cd /data/local/tmp && ./deqp-binary64 --deqp-caselist-file=/data/local/tmp/vk-incremental-deqp.txt --deqp-log-images=disable --deqp-log-filename=/sdcard/vk-incremental-deqp-results.qpa --deqp-surface-type=fbo --deqp-surface-width=2048 --deqp-surface-height=2048"
15*35238bceSAndroid Build Coastguard Workeradb shell "cd /data/local/tmp && ./deqp-binary64 --deqp-caselist-file=/data/local/tmp/gles3-incremental-deqp.txt --deqp-log-images=disable --deqp-log-filename=/sdcard/gles3-incremental-deqp-results.qpa --deqp-surface-type=fbo --deqp-surface-width=2048 --deqp-surface-height=2048"
16*35238bceSAndroid Build Coastguard Worker# Check results.
17*35238bceSAndroid Build Coastguard Workeradb logcat -s dEQP
18*35238bceSAndroid Build Coastguard Worker```
19