]> git.ipfire.org Git - thirdparty/bind9.git/commit
Do not remove $systest for out-of-tree builds
authorMichal Nowak <mnowak@isc.org>
Fri, 31 Jul 2020 11:10:44 +0000 (13:10 +0200)
committerMichał Kępień <michal@isc.org>
Mon, 28 Sep 2020 19:38:15 +0000 (21:38 +0200)
commit47075f64c3f8d267b4f183ff0011fd36873a2abe
treef7cae649e79e6f9a9637ed90ceeaa3a1d970fc62
parent483e5af5342ece377c866f98dec56757515ca0ea
Do not remove $systest for out-of-tree builds

Previously, the $systest directory was being removed for out-of-tree
builds at the end of each system test.  Because of that, running tests
which depend on compiled objects was breaking subsequent "make check"
invocations:

    make: Target 'check' not remade because of errors.
    Making all in dyndb/driver
    /bin/bash: line 20: cd: dyndb/driver: No such file or directory
    Making all in dlzexternal/driver
    /bin/bash: line 20: cd: dlzexternal/driver: No such file or directory

Address by first removing build/test artifacts for a given test and then
removing empty directories inside (and potentially including) $systest.
bin/tests/system/run.sh.in