Individual machines are allowed to have their own LAVA templates, but
they are not used, and completely overwritten by a default template.
Since they are unused, remove them for clarity.
Change-Id: Ib9196ac52dca7ef1891625a98399c70e3027abbb
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
echo "Add meta-agl/templates/machine/${MACHINE}/test/hwtest.enable.short to enable"
else
eval export ENVFILE=meta-agl/templates/machine/${MACHINE}/test/hwtest.short.environment
- eval export TESTJOBFILE=meta-agl/templates/machine/${MACHINE}/test/testjob_short.yaml
fi
if [ ! -f $ENVFILE ] ; then
exit 1
fi
-if [ ! -e $TESTJOBFILE ] ; then
- echo "No short HW test environment file available for ${MACHINE}."
- echo "Add ${TESTJOBFILE} to enable."
- exit 1
-fi
-
# some defaults
export DEVICE_TYPE=raspberrypi3-uboot
export DEVICE_NAME=raspberrypi3
echo "## ${MACHINE} ##"
cd $REPODIR
-echo "## $TESTJOBFILE ##"
-
-if [ -e $TESTJOBFILE ] ; then
- echo "Using $TESTJOBFILE ..."
- cp $TESTJOBFILE testjob.yaml
-else
- echo "!! NO TESTJOBFILE - trying to continue with a default !!"
-fi
-
cat <<EOF > testjob.yaml
# Your first LAVA JOB definition for a $MACHINE board
device_type: @REPLACE_DEVICE_TYPE@
echo "## ${MACHINE} ##"
cd $REPODIR
-echo "## $TESTJOBFILE ##"
-
-if [ -e $TESTJOBFILE ] ; then
- echo "Using $TESTJOBFILE ..."
- cp $TESTJOBFILE testjob.yaml
-else
- echo "!! NO TESTJOBFILE - trying to continue with a default !!"
-fi
-
cat <<EOF > testjob.yaml
# Your first LAVA JOB definition for a $MACHINE board
device_type: @REPLACE_DEVICE_TYPE@