unit/unittest.sh is generated by configure. It will always be

generated into builddir. If out-of-tree build is used, make unit
will always fail. Kyuafiles and testdata still have to be copied
manually into the builddir.
This commit is contained in:
Petr Menšík
2018-02-22 15:32:16 +01:00
parent 883a9485e9
commit 95cde3608a
6 changed files with 9 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ resconf_test@EXEEXT@: resconf_test.@O@ ${CFGDEPLIBS} ${DNSDEPLIBS} ${IRSDEPLIBS}
resconf_test.@O@ ${LIBS}
unit::
sh ${top_srcdir}/unit/unittest.sh
sh ${top_builddir}/unit/unittest.sh
clean distclean::
rm -f ${TARGETS}