GEODE-149 Reexecute a test even it previously passed

Modified build.gradle to make the test task as not up to date. This
forces gradle to rerun the test target every time it is invoked.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/77d7fa5b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/77d7fa5b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/77d7fa5b

Branch: refs/heads/feature/GEODE-77
Commit: 77d7fa5b8c6e7c36fc752b5403872a2ed52ddaa5
Parents: b8686b5
Author: Dan Smith <dsm...@pivotal.io>
Authored: Tue Jul 21 14:34:30 2015 -0700
Committer: Dan Smith <dsm...@pivotal.io>
Committed: Tue Jul 21 15:28:00 2015 -0700

----------------------------------------------------------------------
 build.gradle | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/77d7fa5b/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 46ab6c6..c82e82a 100755
--- a/build.gradle
+++ b/build.gradle
@@ -355,6 +355,10 @@ subprojects {
       check.dependsOn test
       test.configure {
         onlyIf { ! Boolean.getBoolean('skip.tests') }
+
+        //force tests to be run every time by
+        //saying the results are never up to date
+        outputs.upToDateWhen { false }
     
         def resultsDir = testResultsDir(buildDir, test.name)
         workingDir resultsDir.absolutePath

Reply via email to