Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

Commit

Permalink
Added fullRegression.bash
Browse files Browse the repository at this point in the history
This is really only useful for me, but I want to capture it nonetheless.
  • Loading branch information
vorth committed Aug 19, 2017
1 parent c97cf61 commit 4949704
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ regression.dependsOn makeRegressionOutputDir
testYear = regressionYear
}
def testFile = "${testYear}/${month}"
def testOut = "build/test-results/regression/TEST-${month}.xml"
def testOut = "build/test-results/regression/TEST-${testYear}-${month}.xml"
if( project .hasProperty( "regressionOutput" ) ){
testOut = regressionOutput
}
Expand Down
17 changes: 17 additions & 0 deletions fullRegression.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

ATTACHMENTS=/Volumes/Matsumichi/Dropbox/vZome/attachments/

for year in $( ls ${ATTACHMENTS} ); do

echo '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
echo '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ${year} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
echo '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
echo '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'

./gradlew \
-PregressionHome=${ATTACHMENTS} \
regressionYear -PregressionYear=${year} || exit $?

done

0 comments on commit 4949704

Please sign in to comment.