~aacid/qtmir/remove_non_interface_things

« back to all changes in this revision

Viewing changes to tests/mirserver/ArgvHelper/CMakeLists.txt

  • Committer: Bileto Bot
  • Author(s): Daniel d'Andrada
  • Date: 2017-03-07 23:41:30 UTC
  • mfrom: (606.1.3 dontPassArgsToMir)
  • Revision ID: ci-train-bot@canonical.com-20170307234130-fe10ghloeate0mcu
Don't pass command line arguments to Mir

Those are application specific, as qtmir can be used by several different
executables (unity8, uqmlscene, qmltestrunner), each taking its own set of
command line args.

Those executables (uqmlscene and qmltestrunner in particular) will quit when
seeing Mir arguments as they don't recognize them and vice-versa.

Approved by: Gerry Boland, Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
set(
2
 
  ARGVHELPER_TEST_SOURCES
3
 
  argvHelper_test.cpp
4
 
)
5
 
 
6
 
add_executable(ArgvHelperTest ${ARGVHELPER_TEST_SOURCES})
7
 
 
8
 
include_directories(
9
 
  ${CMAKE_SOURCE_DIR}/src/platforms/mirserver
10
 
)
11
 
 
12
 
target_link_libraries(
13
 
  ArgvHelperTest
14
 
 
15
 
  ${GTEST_BOTH_LIBRARIES}
16
 
)
17
 
 
18
 
add_test(ArgvHelper, ArgvHelperTest)