[empathy] run coding style checks on tests



commit 57396500ea506ca42677292b6ab8e0cf664e5f7f
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Jan 6 15:23:16 2014 +0100

    run coding style checks on tests
    
    https://bugzilla.gnome.org/show_bug.cgi?id=721484

 tests/Makefile.am             |   12 ++++++++++++
 tests/interactive/Makefile.am |   14 ++++++++++++++
 2 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c49c200..8632826 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -65,6 +65,18 @@ empathy_parser_test_SOURCES = empathy-parser-test.c \
 empathy_live_search_test_SOURCES = empathy-live-search-test.c \
      test-helper.c test-helper.h
 
+check_c_sources = \
+    $(empathy_tls_test_SOURCES) \
+    $(empathy_irc_server_test_SOURCES) \
+    $(empathy_irc_network_test_SOURCES) \
+    $(empathy_irc_network_manager_test_SOURCES) \
+    $(empathy_chatroom_test_SOURCES) \
+    $(empathy_chatroom_manager_test_SOURCES) \
+    $(empathy_parser_test_SOURCES) \
+    $(empathy_live_search_test_SOURCES)
+include $(top_srcdir)/tools/check-coding-style.mk
+check-local: check-coding-style
+
 TESTS_ENVIRONMENT = EMPATHY_SRCDIR= abs_top_srcdir@ \
                    MC_PROFILE_DIR= abs_top_srcdir@/tests \
                    MC_MANAGER_DIR= abs_top_srcdir@/tests
diff --git a/tests/interactive/Makefile.am b/tests/interactive/Makefile.am
index e1236f4..4df54fe 100644
--- a/tests/interactive/Makefile.am
+++ b/tests/interactive/Makefile.am
@@ -36,3 +36,17 @@ test_empathy_calendar_button_SOURCES = test-empathy-calendar-button.c
 test_empathy_roster_view_SOURCES = test-empathy-roster-view.c
 test_empathy_dual_roster_view_SOURCES = test-empathy-dual-roster-view.c
 test_empathy_roster_model_aggregator_SOURCES = test-empathy-roster-model-aggregator.c
+
+check_c_sources = \
+    $(empathy_logs_SOURCES) \
+    $(test_empathy_contact_blocking_dialog_SOURCES) \
+    $(test_empathy_presence_chooser_SOURCES) \
+    $(test_empathy_status_preset_dialog_SOURCES) \
+    $(test_empathy_protocol_chooser_SOURCES) \
+    $(test_empathy_account_chooser_SOURCES) \
+    $(test_empathy_calendar_button_SOURCES) \
+    $(test_empathy_roster_view_SOURCES) \
+    $(test_empathy_dual_roster_view_SOURCES) \
+    $(test_empathy_roster_model_aggregator_SOURCES)
+include $(top_srcdir)/tools/check-coding-style.mk
+check-local: check-coding-style


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]