From 57396500ea506ca42677292b6ab8e0cf664e5f7f Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 6 Jan 2014 15:23:16 +0100 Subject: 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(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index c49c2007f..863282627 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 e1236f4ba..4df54fe89 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 -- cgit v1.2.3