← Back to team overview

ubuntu-touch-coreapps-reviewers team mailing list archive

[Merge] lp:~nskaggs/reminders-app/run-qml-tests-on-build into lp:reminders-app

 

Nicholas Skaggs has proposed merging lp:~nskaggs/reminders-app/run-qml-tests-on-build into lp:reminders-app.

Commit message:
Always run qml tests when building

Requested reviews:
  Ubuntu Notes app developers (notes-app-dev)

For more details, see:
https://code.launchpad.net/~nskaggs/reminders-app/run-qml-tests-on-build/+merge/289063

Let's make sure qml tests run whenever we build. 
-- 
Your team Ubuntu Notes app developers is requested to review the proposed merge of lp:~nskaggs/reminders-app/run-qml-tests-on-build into lp:reminders-app.
=== modified file 'tests/qml/CMakeLists.txt'
--- tests/qml/CMakeLists.txt	2015-03-19 23:01:15 +0000
+++ tests/qml/CMakeLists.txt	2016-03-15 15:44:15 +0000
@@ -46,3 +46,8 @@
 endif()
 
 add_custom_target(tst_QmlFiles ALL SOURCES ${QML_TST_FILES})
+add_custom_command(
+    TARGET tst_QmlFiles
+    POST_BUILD
+    COMMAND ctest --output-on-failure
+)


Follow ups