Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105295

androidtestrunner is ignoring extra arguments

XMLWordPrintable

    • Android
    • 2023wk48FOQtforAndroid

      Hi, I'm planning to use Qt test with androidtestrunner to run our test on CI/CD follow this document
      https://www.kdab.com/wp-content/uploads/stories/2019-45-QtWS-Berlin-Testing-Profiling-Qt-Android.pdf
      I tried to create a project with Qt test and see that the test function did not run
      when run command "make check"

      but same project when run as an application by Android Studio. it works

      After debug into the step of androidtestrunner. I see the cause is the param in adb command

      -e applicationArguments \"'-o output.txt,txt'\"
      

      Continue debug in the android project. I tried to run app with Android Studio but modify code in class QtLoader.java to hard code an input params. it also not works

      seems that, QT Android will not run native library (file .so) if exist an input param ?

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            assam Assam Boudjelthia
            nguoithichkhampha Cuong Trinh
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes