]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests: Add support for make distcheck
authorTom Hromatka <tom.hromatka@oracle.com>
Wed, 23 Mar 2022 15:13:27 +0000 (09:13 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 23 Mar 2022 15:13:27 +0000 (09:13 -0600)
commita8faad2c53d79e8a6e4052eed608d43b0f20a22c
tree4352d6e5f24ae739346e3ccd3bb8ac36c4a8f4e3
parent17de7932186591fc57588e36afd161c8c40b1f50
ftests: Add support for make distcheck

make distcheck builds libcgroup in a different directory
from where it runs the tests.  Add smarts to ftests.sh and
ftests-nocontainer.sh to support this case by copying the
requisite python files.  After the tests complete, the
python files are then removed.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
ftests/ftests-nocontainer.sh
ftests/ftests.sh