summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2026-03-12 15:47:36 -0400
committerVictor Kareh <[email protected]>2026-03-12 15:48:47 -0400
commitd56c2699b66f528f84a57fe3c46eb221036d51f2 (patch)
tree42073b34de7fe024838d2630e448dcd6a2405287
parent4df23a3f0aacc9d9563cdccd4fef5772d49d19cf (diff)
downloadlibmateweather-d56c2699b66f528f84a57fe3c46eb221036d51f2.tar.bz2
libmateweather-d56c2699b66f528f84a57fe3c46eb221036d51f2.tar.xz
tests: use top_builddir for test data path
distcheck uses a VPATH build where Locations.xml is generated in the build directory, not the source directory. Use top_builddir/data instead of top_srcdir/data so the test finds the generated file.
-rw-r--r--libmateweather/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmateweather/Makefile.am b/libmateweather/Makefile.am
index 2522c2b..9cff219 100644
--- a/libmateweather/Makefile.am
+++ b/libmateweather/Makefile.am
@@ -73,7 +73,7 @@ test_libmateweather_SOURCES = test_libmateweather.c
test_libmateweather_LDADD = libmateweather.la $(GTK_LIBS)
AM_TESTS_ENVIRONMENT = \
- MATEWEATHER_XML_LOCATION_DIR=$(top_srcdir)/data
+ MATEWEATHER_XML_LOCATION_DIR=$(top_builddir)/data
mateweather-enum-types.h: $(mateweather_new_headers)
$(AM_V_GEN)( cd $(srcdir) && $(GLIB_MKENUMS) --template mateweather-enum-types.h.tmpl \