pungi/tests/test_compose.sh
Lubomír Sedlář 99204bb695 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>
2017-08-07 15:17:33 +02:00

21 lines
390 B
Bash
Executable File

#!/bin/sh
set -e
HERE=$(dirname "$0")
PYTHONPATH=$HERE/../:$PYTHONPATH
PATH=$HERE/../bin:$PATH
export PYTHONPATH PATH
mkdir -p _composes
pungi-koji \
--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
#pungi-create-unified-isos _composes/latest-DP-1/