containerized-data-importer/automation/check-patch.sh
Alexander Wels 01cfa85dd1 Configure STDCI
- Added oVirt STDCI configuration files.

Signed-off-by: Alexander Wels <awels@redhat.com>
2018-08-30 15:50:36 -04:00

14 lines
292 B
Bash
Executable File

#!/bin/bash -e
# Patch/PR testing wrapper that sets the corresponding TARGET
#
if [[ "${BASH_SOURCE[0]}" == "$0" ]]; then
TARGET="$0"
TARGET="${TARGET#./}"
TARGET="${TARGET%.*}"
TARGET="${TARGET#*.}"
echo "TARGET=$TARGET"
export TARGET
exec automation/test.sh
fi