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
|
set -e
|
||||||
|
|
||||||
PYTHONPATH=$(pwd)/../:$PYTHONPATH
|
HERE=$(dirname "$0")
|
||||||
PATH=$(pwd)/../bin:$PATH
|
|
||||||
|
PYTHONPATH=$HERE/../:$PYTHONPATH
|
||||||
|
PATH=$HERE/../bin:$PATH
|
||||||
export PYTHONPATH PATH
|
export PYTHONPATH PATH
|
||||||
|
|
||||||
mkdir -p _composes
|
mkdir -p _composes
|
||||||
|
|
||||||
pungi-koji \
|
pungi-koji \
|
||||||
--target-dir=_composes \
|
--target-dir="$HERE/_composes" \
|
||||||
--old-composes=_composes \
|
--old-composes="$HERE/_composes" \
|
||||||
--config=data/dummy-pungi.conf \
|
--config="$HERE/data/dummy-pungi.conf" \
|
||||||
--test "$@"
|
--test "$@"
|
||||||
|
|
||||||
# Run this to create unified ISOs for the just created compose
|
# Run this to create unified ISOs for the just created compose
|
||||||
|
Loading…
Reference in New Issue
Block a user