jdaugherty commented on code in PR #14324:
URL: https://github.com/apache/grails-core/pull/14324#discussion_r2054225725
##########
gradle/test-config.gradle:
##########
@@ -13,7 +13,29 @@ dependencies {
}
tasks.withType(Test).configureEach {
- onlyIf { !project.hasProperty('onlyFunctionalTests') }
+ onlyIf {
+ if(project.hasProperty('onlyFunctionalTests')) {
+ return false
+ }
+
+ if (project.hasProperty('onlyMongodbTests')) {
+ return false
+ }
+
+ if (project.hasProperty('onlyHibernate5Tests')) {
+ return false
+ }
+
+ if(project.hasProperty('skipCoreTests')) {
+ return false
+ }
+
+ if(project.hasProperty('skipTests')) {
+ return false
+ }
+
+ true
+ }
Review Comment:
I don't think you can do this without making the projects dependent on each
other, which would defat the purpose of lazy eval / parallel improvements i
have made.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]