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

androidtestrunner splits data row names by whitespace and treats them as test functions

    XMLWordPrintable

Details

    • Android
    • 2022wk30FOQtforAndroid, 2022wk32FOQtforAndroid

    Description

      See here and Ivan's comment.

      qt-testrunner.py     INFO: Re-running testcase: touchEventAcceptIgnore:accepts touch, accepts events
      qt-testrunner.py    DEBUG: Running test command line: ['/home/qt/work/install/bin/androidtestrunner', '--path', '/home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quick/qquickitem/android-build', '--adb', '/opt/android/sdk/platform-tools/adb', '--skip-install-root', '--make', '/opt/cmake-3.21.1/bin/cmake --build /home/qt/work/qt/qtdeclarative_standalone_tests --target tst_qquickitem_make_apk', '--apk', '/home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quick/qquickitem/android-build/tst_qquickitem.apk', '--verbose', '-o', '/home/qt/work/testresults/tst_qquickitem-1656587404379.xml,xml', '-o', '-,txt', 'touchEventAcceptIgnore:accepts touch, accepts events']
      Execute /opt/cmake-3.21.1/bin/cmake --build /home/qt/work/qt/qtdeclarative_standalone_tests --target tst_qquickitem_make_apk.
      ninja: no work to do.
      Execute /opt/android/sdk/platform-tools/adb shell getprop ro.build.version.sdk.
      23
      Execute /opt/android/sdk/platform-tools/adb install -r -g /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quick/qquickitem/android-build/tst_qquickitem.apk.
      Performing Push Install
      /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/quick/qquickitem/android-build/tst_qquickitem.apk: 1 file pushed, 0 skipped. 70.8 MB/s (36957942 bytes in 0.498s)
      	pkg: /data/local/tmp/tst_qquickitem.apk
      Success
      Execute /opt/android/sdk/platform-tools/adb shell am start -e applicationArguments \"'-o output.xml,xml -o output.txt,txt touchEventAcceptIgnore:accepts touch, accepts events'\" -n org.qtproject.example.tst_qquickitem/org.qtproject.qt.android.bindings.QtActivity.
      Starting: Intent { cmp=org.qtproject.example.tst_qquickitem/org.qtproject.qt.android.bindings.QtActivity (has extras) }
      ********* Start testing of tst_qquickitem *********
      Config: Using QtTest library 6.3.2, Qt 6.3.2 (i386-little_endian-ilp32 shared (dynamic) debug build; by Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)), android 6.0
      FAIL!  : tst_qquickitem::touch,() Function not found: touch,
      FAIL!  : tst_qquickitem::accepts() Function not found: accepts
      FAIL!  : tst_qquickitem::events() Function not found: events
      PASS   : tst_qquickitem::initTestCase()
      PASS   : tst_qquickitem::cleanupTestCase()
      Totals: 2 passed, 3 failed, 0 skipped, 0 blacklisted, 3ms
      ********* Finished testing of tst_qquickitem *********
      Execute /opt/android/sdk/platform-tools/adb uninstall org.qtproject.example.tst_qquickitem.
      Success
      qt-testrunner.py     INFO: Test process exited with code: 1
      

      Full log here.

      EDITed by jimis: added more context in the logs and changed title

      Attachments

        Issue Links

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

          Activity

            People

              assam Assam Boudjelthia
              mitch_curtis Mitch Curtis
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes