tests: Make test-compose cwd independent
With this patch it is possible to run the test compose script from the top level directory. This makes it slightly easier to use. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
381d08a810
commit
99204bb695
@ -2,16 +2,18 @@
|
||||
|
||||
set -e
|
||||
|
||||
PYTHONPATH=$(pwd)/../:$PYTHONPATH
|
||||
PATH=$(pwd)/../bin:$PATH
|
||||
HERE=$(dirname "$0")
|
||||
|
||||
PYTHONPATH=$HERE/../:$PYTHONPATH
|
||||
PATH=$HERE/../bin:$PATH
|
||||
export PYTHONPATH PATH
|
||||
|
||||
mkdir -p _composes
|
||||
|
||||
pungi-koji \
|
||||
--target-dir=_composes \
|
||||
--old-composes=_composes \
|
||||
--config=data/dummy-pungi.conf \
|
||||
--target-dir="$HERE/_composes" \
|
||||
--old-composes="$HERE/_composes" \
|
||||
--config="$HERE/data/dummy-pungi.conf" \
|
||||
--test "$@"
|
||||
|
||||
# Run this to create unified ISOs for the just created compose
|
||||
|
Loading…
Reference in New Issue
Block a user