config/tests: use absolute path for config test

Otherwise, calling
  ./src/tests/config/test-config
fails, and we must do:
  (cd ./src/tests/config && ./test-config)

We can avoid that easily.
This commit is contained in:
Thomas Haller
2016-05-11 17:11:47 +02:00
parent b4095a5101
commit 2a2db44bc2

View File

@@ -9,8 +9,8 @@ AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\""NetworkManager"\" \
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
$(GLIB_CFLAGS) \
-DSRCDIR=\""$(srcdir)"\" \
-DBUILDDIR=\""$(builddir)"\"
-DSRCDIR=\""$(abs_srcdir)"\" \
-DBUILDDIR=\""$(abs_builddir)"\"
noinst_PROGRAMS = \
test-config