From 1329fe14ecf9bf9fb2991f3c7784f071bae851f3 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 2 Jul 2015 19:20:50 +0100 Subject: [PATCH] Suppress all compile warning when building unit tests --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 0486982d..bcae2923 100644 --- a/Makefile.am +++ b/Makefile.am @@ -156,6 +156,7 @@ endif TESTS = tests/unittests/unittests tests/functionaltests/functionaltests check_PROGRAMS = tests/unittests/unittests tests/functionaltests/functionaltests tests_unittests_unittests_SOURCES = $(unittest_sources) +tests_unittests_unittests_CFLAGS = -w tests_unittests_unittests_LDADD = -lcmocka tests_functionaltests_functionaltests_SOURCES = $(functionaltest_sources) tests_functionaltests_functionaltests_CFLAGS = -I/usr/include/tcl8.6 -I/usr/include/tcl8.5