tests: Disable warnings from valac for unit tests
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Wed, 17 Mar 2010 14:24:43 +0000 (16:24 +0200)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Wed, 17 Mar 2010 15:45:30 +0000 (17:45 +0200)
Most of the warnings are completely bogus in case of unit tests (e.g unused
symbols) and it only makes the build output look very ugly.

tests/Makefile.am

index 1db89be..6f77412 100644 (file)
@@ -20,7 +20,7 @@ LDADD = $(LIBGUPNP_LIBS) \
        $(LIBSOUP_LIBS) \
        $(LIBDBUS_GLIB_LIBS)
 
-AM_VALAFLAGS = --thread \
+AM_VALAFLAGS = --disable-warnings --thread \
               --pkg gupnp-1.0 --pkg gupnp-av-1.0 --pkg dbus-glib-1 \
                --pkg gconf-2.0 --pkg gstreamer-0.10 \
                --pkg gio-2.0 --pkg gee-1.0 -g