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

Android unit tests capture C++ logs, not Java logs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.0 FF
    • Fix Version/s: None
    • Component/s: Testing: qtestlib
    • Labels:
      None
    • Platform/s:
      Android

      Description

      When I run a test on Android with e.g. "ctest -V -R tst_mytest" and I write "qDebug() << "foo";" in C++ source code, I see the "foo" in the output.

      When I write Log.d("foo") in Java source code, I don't see it in the output.

      It would be nice if we could also capture the logs generated in Java.

        Attachments

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

          Activity

            People

            Assignee:
            macadder Jason McDonald
            Reporter:
            andreasbuhr Andreas Buhr
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes