This commit adds the possibility to specify RESULT_BASE directory from
the config file, or with environment variable. The default remains the
same "$here/results/".
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
SUPPORTED_TESTS="[0-9][0-9][0-9] [0-9][0-9][0-9][0-9]"
SRC_GROUPS="generic shared"
export SRC_DIR="tests"
-export RESULT_BASE=${RESULT_BASE:="$here/results"}
usage()
{
fi
get_next_config() {
+ # set default RESULT_BASE
+ if [ -z "$RESULT_BASE" ]; then
+ export RESULT_BASE="$here/results/"
+ fi
+
# Mandatory Config values.
MC=""
[ -z "$EMAIL" ] && MC="$MC EMAIL"