diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/test/modules/gin/Makefile | 12 | ||||
-rw-r--r-- | src/test/modules/injection_points/Makefile | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/src/test/modules/gin/Makefile b/src/test/modules/gin/Makefile index 81ca6bfe35a..da4c9cea5ef 100644 --- a/src/test/modules/gin/Makefile +++ b/src/test/modules/gin/Makefile @@ -15,5 +15,17 @@ else subdir = src/test/modules/gin top_builddir = ../../../.. include $(top_builddir)/src/Makefile.global + +# XXX: This test is conditional on enable_injection_points in the +# parent Makefile, so we should never get here in the first place if +# injection points are not enabled. But the buildfarm 'misc-check' +# step doesn't pay attention to the if-condition in the parent +# Makefile. To work around that, disable running the test here too. +ifeq ($(enable_injection_points),yes) include $(top_srcdir)/contrib/contrib-global.mk +else +check: + @echo "injection points are disabled in this build" +endif + endif diff --git a/src/test/modules/injection_points/Makefile b/src/test/modules/injection_points/Makefile index 4248671513a..1cb395c37ac 100644 --- a/src/test/modules/injection_points/Makefile +++ b/src/test/modules/injection_points/Makefile @@ -19,5 +19,17 @@ else subdir = src/test/modules/injection_points top_builddir = ../../../.. include $(top_builddir)/src/Makefile.global + +# XXX: This test is conditional on enable_injection_points in the +# parent Makefile, so we should never get here in the first place if +# injection points are not enabled. But the buildfarm 'misc-check' +# step doesn't pay attention to the if-condition in the parent +# Makefile. To work around that, disable running the test here too. +ifeq ($(enable_injection_points),yes) include $(top_srcdir)/contrib/contrib-global.mk +else +check: + @echo "injection points are disabled in this build" +endif + endif |