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

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

    XMLWordPrintable

Details

    • Android
    • 21
    • 0098dd8120be482397b28d034e0c338d7bb81418 (qt/qtbase/dev)
    • Team 1 Foundation_Sprint 43, Team 1 Foundation_Sprint 44, Team 1 Foundation_Sprint 45, Team 1 Foundation_Sprint 46

    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

        Issue Links

          For Gerrit Dashboard: QTBUG-93438
          # Subject Branch Project Status CR V

          Activity

            People

              andreasbuhr Andreas Buhr
              andreasbuhr Andreas Buhr
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes