native-build-tools icon indicating copy to clipboard operation
native-build-tools copied to clipboard

Gradle - No tests executed with systemProperties = System.properties

Open phejl opened this issue 2 years ago • 2 comments

It seems onlyIf might not be the best choice for nativeTest depending on uid tracking output. If the build.gradle looks like this

test {
	useJUnitPlatform()
	systemProperties = System.properties
}

Then running ./gradlew clean nativeTest will succeed but no nativeTests will be executed as the task is silently skipped withou any warning.

phejl avatar Jan 22 '23 23:01 phejl