testing: include syncevo-webdav-lookup in test binaries
syncevo-webdav-lookup is needed during testing when doing WebDAV database scans, so build it in "src" like the rest of the binaries and link to it in the installed test suite.
This commit is contained in:
parent
124f6e7b2c
commit
fda741136f
|
@ -13,10 +13,10 @@ else
|
|||
noinst_LTLIBRARIES += $(src_backends_webdav_lib)
|
||||
endif
|
||||
|
||||
bin_SCRIPTS += src/backends/webdav/syncevo-webdav-lookup
|
||||
CLEANFILES += src/backends/webdav/syncevo-webdav-lookup
|
||||
bin_SCRIPTS += src/syncevo-webdav-lookup
|
||||
CLEANFILES += src/syncevo-webdav-lookup
|
||||
|
||||
src/backends/webdav/syncevo-webdav-lookup: $(top_srcdir)/src/backends/webdav/syncevo-webdav-lookup.sh
|
||||
src/syncevo-webdav-lookup: $(top_srcdir)/src/backends/webdav/syncevo-webdav-lookup.sh
|
||||
$(AM_V_GEN) rm -f $@ && cp $< $@ && chmod a+rx $@
|
||||
|
||||
src_backends_webdav_src = \
|
||||
|
|
|
@ -101,6 +101,7 @@ install-test-files:
|
|||
ln -f -s $(bindir)/synccompare $(DESTDIR)/$(testdir)
|
||||
ln -f -s $(libexecdir)/syncevo-dbus-server $(DESTDIR)/$(testdir)
|
||||
ln -f -s $(bindir)/synclog2html $(DESTDIR)/$(testdir)
|
||||
ln -f -s $(bindir)/syncevo-webdav-lookup $(DESTDIR)/$(testdir)
|
||||
cp config.h $(top_srcdir)/src/syncevo/SyncConfig.h src/ClientTest.cpp.html $(DESTDIR)/$(testdir) # needed by test-dbus.py
|
||||
|
||||
all_uninstall_hooks += uninstall-test-files
|
||||
|
@ -109,6 +110,7 @@ uninstall-test-files:
|
|||
$(DESTDIR)/$(testdir)/synccompare \
|
||||
$(DESTDIR)/$(testdir)/syncevo-dbus-server \
|
||||
$(DESTDIR)/$(testdir)/synclog2html \
|
||||
$(DESTDIR)/$(testdir)/syncevo-webdav-lookup \
|
||||
$(DESTDIR)/$(testdir)/SyncConfig.h \
|
||||
$(DESTDIR)/$(testdir)/ClientTests.cpp.html \
|
||||
$(DESTDIR)/$(testdir)/config.h \
|
||||
|
|
Loading…
Reference in New Issue