Skip to content

Commit 79c9188

Browse files
committed
Running the suite
1 parent 4d2079f commit 79c9188

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

run_containerqa.sh

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ do
4444
CONTAINER_VERSION="${a#*=}"
4545
;;
4646
--report-dir=*)
47+
# possibly unused?
4748
ARG_REPORT_DIR="${a#*=}"
4849
;;
4950
*)
@@ -53,5 +54,21 @@ do
5354
esac
5455
done
5556

57+
if [ -z "$CONTAINER_VERSION" ] || [ -z "$ARG_REPORT_DIR" ] ; then
58+
print_help >&2
59+
fi
60+
5661
echo "Ensure that the run-folder-as-tests sub-repo is properly pulled down."
57-
echo "Ensure Podman is installed on the host under tests."
62+
echo "Ensure Podman is installed on the host under tests."
63+
echo "See test.yaml file if in doubts"
64+
65+
66+
TIME=$(date +%s)
67+
jtWork="test.${TIME}/jdk/work"
68+
jtReport="test.${TIME}/jdk/report"
69+
mkdir -p $jtWork
70+
mkdir -p $jtReport
71+
export SCRATCH_DISK="`pwd`/$jtWork"
72+
export WORKSPACE="`pwd`/$jtReport"
73+
SUITE_FOLDER="containersQa"
74+
bash ${SCRIPT_DIR}/run-folder-as-tests/run-folder-as-tests.sh ${SCRIPT_DIR}/${SUITE_FOLDER} ${CONTAINER_VERSION}

0 commit comments

Comments
 (0)