From 9c2f7724c2a50246ad73796edfda0917a2aaefe3 Mon Sep 17 00:00:00 2001 From: Abhishek Koneru Date: Wed, 20 Nov 2013 02:24:38 -0500 Subject: Maintain seperate scripts for task and jobxml creation. The compose script for creating the test rpm and submitting the job is broken into two scripts, one for creating the test rpm and one for creating the job xml. CI Test Framework --- scripts/run_tests | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100755 scripts/run_tests (limited to 'scripts/run_tests') diff --git a/scripts/run_tests b/scripts/run_tests deleted file mode 100755 index 8e4d65e9f..000000000 --- a/scripts/run_tests +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -WAIT_FOR_RESULT='N' -if [ $# -ge 1 ] ; then - if [ "$1" = "--wait-on-beaker-job" ] ; then - WAIT_FOR_RESULT="Y" - else - echo "Unrecognized option. Usage: ./runtests --wait-on-beaker-job(Optional)" - fi -fi -COMPOSE_PWD=`dirname $0 | cd; pwd` - -TEST_PACKAGE=`cd $COMPOSE_PWD/../../package.tests; pwd` - -if [ ! -d $TEST_PACKAGE ] ; then - echo "Cannot run tests on beaker. Please compose the test rpms." - exit -1 -fi - -cd $TEST_PACKAGE - -bkr task-add *.rpm - -if [ "$WAIT_FOR_RESULT" = "Y" ] ; then - bkr job-submit --wait *.xml -else - bkr job-submit *.xml -fi -- cgit