Whether I can run qt Auto test Project on remote device for example Beaglebone black

  • Dear Developers,

    Please inform me whether I can run Qt Tests using "Test view"-> "Run All tests" menu in Qt creator for remote target e.g Beaglebone black so that I get results of unit tests in xml format

    I am asking this because I have read on Qt Creator that Auto Test Project support only Desktop platform and not Generic Linux device such as Beaglebone black.

    Additionally when I try to run unit tests using "Test view"-> "Run All tests" menu in Qt Creator I always get following result
    Test summary: 0 passes, 0 fails

    Whereas when i run my same Qt Test project (containing unit tests) using "Ctrl +R" on target I get following result on Application Output window.

    ********* Start testing of TestCalculator *********
    Config: Using QtTest library 5.7.1, Qt 5.7.1 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 6.3.0 20170124)
    PASS   : TestCalculator::initTestCase()
    PASS   : TestCalculator::testConstructor()
    PASS   : TestCalculator::testSum()
    PASS   : TestCalculator::cleanupTestCase()
    Totals: 4 passed, 0 failed, 0 skipped, 0 blacklisted, 5ms
    ********* Finished testing of TestCalculator *********

    Please inform me if you need any other information from me.


  • Lifetime Qt Champion


    You may want to track QTCREATORBUG-21759. You can also comment and vote there.


  • @aha_1980 Thank you very much. I will follow this link :)

Log in to reply