Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Passing input arguments to GoogleTests with AutoTest plugin
Forum Updated to NodeBB v4.3 + New Features

Passing input arguments to GoogleTests with AutoTest plugin

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 429 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    daviddoria
    wrote on last edited by
    #1

    I am using the AutoTest plugin to run my Google Tests from QtCreator. The tests that do not require any input work fine. However, the tests that require input (e.g. I pass them a filename) never receive that input, so they all fail. The way I had been running them before experimenting with AutoTest was to pass their arguments in my CMakeLists.txt in the GTEST_ADD_TESTS call, then they work fine when run with 'ctest' from a terminal.

    Any thoughts?

    Thanks,

    David

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved