GithubHelp home page GithubHelp logo

Comments (14)

dubeyabhijeet avatar dubeyabhijeet commented on May 21, 2024

Can any one guide how to run the tests on android devices?

from vulkan_test_applications.

AWoloszyn avatar AWoloszyn commented on May 21, 2024

Are you trying to test GAPID? or just run individual sample applications?

from vulkan_test_applications.

dubeyabhijeet avatar dubeyabhijeet commented on May 21, 2024

I want to run each sample applications on device and check how the tests are performed. I want to develop tests for Vulkan API on ARM GPU and get it validated if all API's are working fine on it. If the above concept is working fine then we would like to look into this tool to enhance the GPU related test on Mediatek Platforms.

from vulkan_test_applications.

dubeyabhijeet avatar dubeyabhijeet commented on May 21, 2024

My purpose is to use this tool to leverage if GPU has some errors with this set of VULKAN API or not.

from vulkan_test_applications.

dubeyabhijeet avatar dubeyabhijeet commented on May 21, 2024

Or Atleast tell how to run individual applications

from vulkan_test_applications.

AWoloszyn avatar AWoloszyn commented on May 21, 2024

So once you have built, you can run

python ./tools/apk_runner apks/<name>.apk

from vulkan_test_applications.

dubeyabhijeet avatar dubeyabhijeet commented on May 21, 2024

cmake -GNinja D:\vulkan_test_applications -DBUILD_APKS=ON -DANDROID_SDK=C:\Users\mtk33092\AppData\Local\Android\Sdk
ninja

APK folders created --> Only Android studio project structure is created. Cannot find any .apk files. Is there something wrong with my build?

from vulkan_test_applications.

AWoloszyn avatar AWoloszyn commented on May 21, 2024

If the call to ninja succeded, then there should be a "apk" directory created that contains the apks.
Did ninja fail?

from vulkan_test_applications.

dubeyabhijeet avatar dubeyabhijeet commented on May 21, 2024

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project 'dummyapk'.

Could not resolve all artifacts for configuration ':classpath'.
Could not resolve com.android.tools.build:gradle:3.5.0.
Required by:
project :
> Could not resolve com.android.tools.build:gradle:3.5.0.
> Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
> Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
> Connect to localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
> Could not resolve com.android.tools.build:gradle:3.5.0.
> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
> Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
> Connect to localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
> Could not resolve com.android.tools.build:gradle:3.5.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
> Could not GET 'https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
> Connect to localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect

from vulkan_test_applications.

dubeyabhijeet avatar dubeyabhijeet commented on May 21, 2024

Tried deleting .gradle file. But still same error.

from vulkan_test_applications.

dubeyabhijeet avatar dubeyabhijeet commented on May 21, 2024

gradle files were corrupted. Now building apk's. I will update once done

from vulkan_test_applications.

dubeyabhijeet avatar dubeyabhijeet commented on May 21, 2024

HI,

None of apk's can be installed as it needs signed apk. What need to be modified so that we can get signed apk?

from vulkan_test_applications.

dubeyabhijeet avatar dubeyabhijeet commented on May 21, 2024

I can sign the apk using jarsinger. But when i run below command test do not run

D:\vulkan_test_applications\gapid_tests>D:\vulkan_test_applications\tools\gapit_test_framework.py --test-dir D:\vulkan_test_applications\gapid_tests\command_buffer_tests\BufferImageCopy_test --include BufferImageCopy_test.py
Searching BufferImageCopy_test.py for tests
Warning: Could not parse D:\vulkan_test_applications\gapid_tests\command_buffer_tests\BufferImageCopy_test\BufferImageCopy_test.py for testsLOL.
Running tests in C:\Users\mtk33092\AppData\Local\Temp\GAPID-2a5vxlvp
Total Tests Run: 0
Total Tests Passed: 0

mod = import(os.path.splitext(filename)[0]) --> Not able to load module

from vulkan_test_applications.

AWoloszyn avatar AWoloszyn commented on May 21, 2024

The applications should get signed by grade automatically with your debug key. As for running the tests. Unless you are trying to test gapid itself (https://github.com/google/gapid) that script won't help you. You have to install and run the apks manually.

from vulkan_test_applications.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.