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

Androidtestrunner does not parse correctly output when multiple test sets are run in one apk

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 6.2.0
    • Fix Version/s: None
    • Component/s: Build tools: Other
    • Labels:

      Description

      There is a problem with androidtestrunner. It parses only the last run tests set. In this case, test sets cannot be run together.

      BUG.diff is attached. It contains a patch on qtBase repository with dummy tests added.

      One of the test set contains only QVERIFY(true);  Second test set contains only QVERIFY(false); . If they are run together only last is parsed and test is finished as 100% tests passed

      It can be noticed in adb logcat that both test sets are run.

        Attachments

        1. adb-log.txt
          37 kB
        2. BUG.diff
          2 kB
        3. terminal-log.txt
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            assam Assam Boudjelthia
            Reporter:
            bartlomiejmoskal Bartlomiej Moskal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes