dubeejw closed pull request #215: Prevent execution of 'incubator-openwhisk'
tests when './gradlew test' is run
URL: https://github.com/apache/incubator-openwhisk-cli/pull/215
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/.gitignore b/.gitignore
index c1d724d9..de768504 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,6 @@ Godeps/_workspace
# Gradle build working directories
/.gradle/
/.gogradle/
-/build/
+build
/release/
/vendor/
diff --git a/tests/build.gradle b/tests/build.gradle
index c11a0f97..ec54e0fc 100644
--- a/tests/build.gradle
+++ b/tests/build.gradle
@@ -3,6 +3,10 @@ apply plugin: 'eclipse'
compileTestScala.options.encoding = 'UTF-8'
evaluationDependsOn(':clitests')
+evaluationDependsOn(':common:scala')
+
+project(':clitests').test.onlyIf = {false}
+compileTestScala.dependsOn(':clitests:compileTestScala')
repositories {
mavenCentral()
@@ -27,6 +31,10 @@ dependencies {
compile "org.scala-lang:scala-library:${gradle.scala.version}"
compile project(':clitests')
compile project(':clitests').sourceSets.test.output
+
+ compile project(':common:scala')
+ compile project(':core:controller')
+ compile project(':core:invoker')
}
tasks.withType(ScalaCompile) {
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services