Revision f80cbaea0374a4e66b4eb987ea84af381071e85d authored by Thomas B. Mooney on 04 December 2018, 22:14:37 UTC, committed by GitHub on 04 December 2018, 22:14:37 UTC
Handle array outputs and non-file outputs when staging results.
2 parent s 84a787f + a3fc168
Raw File
genome-test
#!/bin/bash

# delegate to local version if it is found
if git rev-parse --is-inside-work-tree 1> /dev/null 2> /dev/null
then
    WORK_TREE="$(git rev-parse --show-toplevel)"
    BIN="$(basename "$0")"
    BIN="${WORK_TREE}/bin/${BIN}"
    if test "$0" != "$BIN" && test -x "$BIN"
    then
        exec "$BIN" "$@"
    fi
fi

if test $# -gt 0
then
    ARGS=("$@")
else
    ARGS=(--lsf --git)
fi

exec genome-test-env test-tracker prove "${ARGS[@]}"
back to top