Revision ed13d283a9380a7acd35559bdedf3df18f759b01 authored by Thomas B. Mooney on 15 May 2018, 13:22:03 UTC, committed by GitHub on 15 May 2018, 13:22:03 UTC
Convert print to debug message and show only when true.
2 parent s ca06201 + 9e9dd24
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