autobuild: Stop waf uninstall from removing test_tmpdir
authorMartin Schwenke <martin@meltin.net>
Mon, 20 Mar 2017 03:49:34 +0000 (14:49 +1100)
committerStefan Metzmacher <metze@samba.org>
Tue, 21 Mar 2017 09:37:08 +0000 (10:37 +0100)
commit05b5af4ae5fbc9b59c857468512858f73e5dea1b
treebdf7a8478ffd543eddd89d28bbd28c189852cd34
parent55546fe458a1925e55323411a35be104c071cabb
autobuild: Stop waf uninstall from removing test_tmpdir

Most of the autobuild tasks run "make distcheck", which does a
recursive "waf configure make install uninstall".  "waf uninstall"
(via BuildContext.install() in Build.py) removes empty directories all
the way up the directory tree.  This means that it removes
test_tmpdir, if it is empty, and any empty directories above it.

While this is arguably a waf bug, the simplest solution is to make
test_tmpdir non-empty so it don't get removed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12703

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Mar 21 10:37:08 CET 2017 on sn-devel-144
script/autobuild.py