हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
Android सीटीएस के साथ इंटिग्रेट करना
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Android CTS रिलीज़ पैकेज (Android के साथ काम करने वाले डिवाइसों के लिए उपलब्ध डाउनलोड) में Khronos के मुताबिक टेस्ट शामिल होते हैं. साथ ही, इन टेस्ट के सबसेट (जिन्हें mustpass
सूची कहा जाता है) को पास करना ज़रूरी होता है. जिन डिवाइसों पर टारगेट एपीआई या एक्सटेंशन काम नहीं करता उनके लिए टेस्ट नहीं किए जाते और उन्हें पास के तौर पर रिपोर्ट किया जाता है.
mustpass
सूची में, OpenGL ES 2.0 से लेकर
OpenGL ES 3.2 और Vulkan 1.1 तक के वर्शन शामिल हैं. mustpass
फ़ाइलें, Khronos के android/cts
डायरेक्ट्री में जाकर देखी जा सकती हैं. इन टेस्ट को cts-tradefed
उपयोगिता की मदद से चलाया जा सकता है. इसके लिए, यह कमांड दें:
cts-tradefed run cts --plan CTS-DEQP
सीटीएस के बिना डुप्लीकेट रन
CTS को फिर से चलाने के लिए, CTS पैकेज का deqp APK इंस्टॉल करें और इस कमांड का इस्तेमाल करें:
adb -d shell am start -n com.drawelements.deqp/android.app.NativeActivity -e \
cmdLine "deqp --deqp-case=dEQP-GLES3.some_group.* --deqp-gl-config-name=rgba8888d24s8 --deqp-log-filename=/sdcard/dEQP-Log.qpa
--deqp-gl-config-name=rgba8888d24s8
आर्ग्युमेंट अहम है. इससे यह अनुरोध किया जाता है कि टेस्ट, 24-बिट डेप्थ बफ़र और 8-बिट स्टेंसिल बफ़र के साथ, स्क्रीन पर मौजूद RGBA 8888 पर चलाए जाएं. --deqp-case
आर्ग्युमेंट का इस्तेमाल करके, मनचाहे टेस्ट सेट करना न भूलें.
सीटीएस के नतीजों की मैपिंग
Android CTS में, टेस्ट केस तीन में से किसी एक स्थिति में खत्म हो सकता है: पास हुआ,
फ़ेल हुआ या लागू नहीं किया गया (deqp में नतीजे के ज़्यादा कोड उपलब्ध हैं). सीटीएस, Khronos कंफ़ॉर्मेंस टेस्ट के नतीजों के कोड को सीटीएस के नतीजों पर अपने-आप मैप करता है:
- सीटीएस पास में
Pass
, NotSupported
,
QualityWarning
, और CompatibilityWarning
शामिल हो सकते हैं.
- सीटीएस में गड़बड़ी होने पर,
Fail
, ResourceError
,
Crash
, Timeout
, और InternalError
शामिल हो सकते हैं.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Integrate with Android CTS\n\nAndroid CTS release packages (available from\n[Android Compatibility\nDownloads](/docs/compatibility/cts/downloads)) include [Khronos Conformance Tests](https://github.com/khronosgroup/vk-gl-cts) and require a subset of these\ntests (known as the `mustpass` list), to pass. For devices that do\nnot support a target API or extension, tests are skipped and reported as\npassing.\n\nThe `mustpass` list includes coverage for OpenGL ES 2.0 through\nOpenGL ES 3.2 and Vulkan 1.1. `mustpass`\nfiles can be found under the `android/cts` directory in the Khronos\nConformance Tests. You can run these tests through the `cts-tradefed`\nutility with the following command: \n\n```\ncts-tradefed run cts --plan CTS-DEQP\n```\n\nDuplicate runs without CTS\n--------------------------\n\nTo replicate the CTS run, install the deqp APK of the CTS package and use the\nfollowing command: \n\n```\nadb -d shell am start -n com.drawelements.deqp/android.app.NativeActivity -e \\\ncmdLine \"deqp --deqp-case=dEQP-GLES3.some_group.* --deqp-gl-config-name=rgba8888d24s8 --deqp-log-filename=/sdcard/dEQP-Log.qpa\n```\n\nThe important part is the `--deqp-gl-config-name=rgba8888d24s8`\nargument, which requests the tests be run on an RGBA 8888 on-screen surface\nwith a 24-bit depth buffer and an 8-bit stencil buffer. Remember to set\nthe desired tests using the `--deqp-case` argument.\n\nCTS results mapping\n-------------------\n\nIn the Android CTS, a test case can end up in one of three states: passed,\nfailed, or not executed (the deqp has more result codes available). CTS\nautomatically maps Khronos Conformance Test result codes to CTS results:\n\n- A CTS pass can include `Pass`, `NotSupported`, `QualityWarning`, and `CompatibilityWarning`.\n- A CTS failure can include `Fail`, `ResourceError`, `Crash`, `Timeout`, and `InternalError`."]]