File: test.sh

package info (click to toggle)
rhino 1.7.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 41,732 kB
  • sloc: javascript: 252,342; java: 117,181; perl: 3,469; sh: 1,330; xml: 162; makefile: 62
file content (16 lines) | stat: -rwxr-xr-x 334 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

BUILDROOT=${BUILDROOT:-github/rhino}

(cd $BUILDROOT; git submodule init; git submodule update)
(cd $BUILDROOT; ./gradlew clean check)
testStatus=$?

for n in ${BUILDROOT}/buildGradle/test-results/*.xml
do
  bn=`basename $n .xml`
  mv $n ${BUILDROOT}/buildGradle/test-results/${bn}_sponge_log.xml
done

exit ${testStatus}