13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
FOSSIL_CHANGE="$(fossil timeline -n 1 -t ci | grep '^[0-9:]* \[' | sed 's@^[0-9:]* \[\([0-9a-f]*\)\].*$@\1@')"
TESTNAME="fossil_${FOSSIL_CHANGE}"
export FOSSIL_CHANGE TESTNAME
if [ -d "${WEBROOTDIR}/${TESTNAME}" ]; then
# Don't re-run the tests if nothing has changed
exit 0
fi
cd build/test || exit 1
if [ ! -x test -o ! -x publish-tests ]; then
echo 'Missing scripts, aborting.' >&2
|
>
>
>
|
>
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
FOSSIL_CHANGE="$(fossil timeline -n 1 -t ci | grep '^[0-9:]* \[' | sed 's@^[0-9:]* \[\([0-9a-f]*\)\].*$@\1@')"
TESTNAME="fossil_${FOSSIL_CHANGE}"
export FOSSIL_CHANGE TESTNAME
if [ -d "${WEBROOTDIR}/${TESTNAME}" ]; then
# Don't re-run the tests if nothing has changed
if [ -f "${KITCREATORDIR}/build/test/force_nightly" ]; then
rm -f "${KITCREATORDIR}/build/test/force_nightly"
else
exit 0
fi
fi
cd build/test || exit 1
if [ ! -x test -o ! -x publish-tests ]; then
echo 'Missing scripts, aborting.' >&2
|