~indicator-applet-developers/indicator-network/trunk.14.10

« back to all changes in this revision

Viewing changes to tests/integration/qt/qml/CMakeLists.txt

* Move in connectivity-cpp from lp:connectivity-api
* Move out libconnectivity-qt and qtdeclarative5-connectivity-plugin
  to lp:connectivity-api Fixes: 1341548
Approved by: Charles Kerr, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
add_custom_target(qmltests)
2
 
 
3
 
find_program(qmltestrunner_exe qmltestrunner)
4
 
 
5
 
if(NOT qmltestrunner_exe)
6
 
  msg(FATAL_ERROR "Could not locate qmltestrunner.")
7
 
endif()
8
 
 
9
 
set(qmltest_command
10
 
  dbus-test-runner -t env -p "QT_QPA_PLATFORM=minimal"
11
 
  -p ${qmltestrunner_exe} -p -input -p ${CMAKE_CURRENT_SOURCE_DIR}/tst_api.qml
12
 
  -p -import -p ${CMAKE_BINARY_DIR}/src/qt/qml
13
 
  -p -o -p ${CMAKE_BINARY_DIR}/testapi.xml,xunitxml
14
 
  -p -o -p -,txt
15
 
)
16
 
 
17
 
add_custom_target(qmltest_api ${qmltest_command})
18
 
add_dependencies(qmltests qmltest_api)
19
 
add_test(qmltests ${qmltest_command})