Skip to content

Commit

Permalink
extended: Allow to focus on particular tests
Browse files Browse the repository at this point in the history
Focus usually involves string with spaces such as:

    ./test/extended/core.sh --ginkgo.focus='quota admission' --ginkgo.failFast

Signed-off-by: Michal Minar <miminar@redhat.com>
  • Loading branch information
Michal Minar committed Apr 8, 2016
1 parent e843202 commit cf8e152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/extended/core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ source "${OS_ROOT}/test/extended/setup.sh"
cd "${OS_ROOT}"

os::test::extended::setup
os::test::extended::focus $@
os::test::extended::focus "$@"

function join { local IFS="$1"; shift; echo "$*"; }

Expand Down Expand Up @@ -43,4 +43,4 @@ TEST_REPORT_FILE_NAME=core_parallel ${GINKGO} -v "-focus=${pf}" "-skip=${ps}" -p
echo "[INFO] Running serial tests"
TEST_REPORT_FILE_NAME=core_serial ${GINKGO} -v "-focus=${sf}" "-skip=${ss}" ${EXTENDEDTEST} -- -ginkgo.v -test.timeout 2h || exitstatus=$?

exit $exitstatus
exit $exitstatus

0 comments on commit cf8e152

Please sign in to comment.