run coding style checks on tests
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 6 Jan 2014 14:23:16 +0000 (15:23 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 6 Jan 2014 14:41:30 +0000 (15:41 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=721484

tests/Makefile.am
tests/interactive/Makefile.am

index c49c200..8632826 100644 (file)
@@ -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
index e1236f4..4df54fe 100644 (file)
@@ -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