GNOME Bugzilla – Bug 783000
tests: videoscale: Fix build warning error
Last modified: 2017-10-27 12:22:27 UTC
elements/videoscale.c:1013:7: error: "VSCALE_TEST_GROUP" is not defined [-Werror=undef] #elif VSCALE_TEST_GROUP == 1
Created attachment 352428 [details] [review] tests: videoscale: Fix build warning error
How are you building this? There are clearly -DVSCALE_TEST_GROUP=N in Makefile.am and meson.build, no?
(In reply to Tim-Philipp Müller from comment #2) > How are you building this? > > There are clearly -DVSCALE_TEST_GROUP=N in Makefile.am and meson.build, no? At root, I did "make check" to run all unit tests
Ok, could you please investigate why this happens then? Clearly it's not supposed to happen and it should be defined as far as I can tell from the Makefile.am. And it is defined if I do this. The patch just works around something that shouldn't be happening in the first place :)
It's clear that VSCALE_TEST_GROUP is defined for videoscale-{1 ~ 6} but not for *videoscale*
Closing this for now. Seems to be specific to a different way of building/running tests.