]> git.0d.be Git - empathy.git/commitdiff
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 c49c2007fde9ad2119aa67e89462b5b712abbb3d..863282627e8a514ed761775291db9cf77521e6f4 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
 
 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
 TESTS_ENVIRONMENT = EMPATHY_SRCDIR=@abs_top_srcdir@ \
                    MC_PROFILE_DIR=@abs_top_srcdir@/tests \
                    MC_MANAGER_DIR=@abs_top_srcdir@/tests
index e1236f4baf51bf11fedc81a86efa47538b80039f..4df54fe89e548f01e66c441276cf001a61011e4f 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
 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