include useful output logs for failing tests
This helps when tests fail on the gitlab-ci builds.
This commit is contained in:
parent
d6ed2a5e8a
commit
cff807e191
@ -157,8 +157,17 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
testOptions {
|
testOptions {
|
||||||
|
unitTests {
|
||||||
// prevent tests from dying on android.util.Log calls
|
// prevent tests from dying on android.util.Log calls
|
||||||
unitTests.returnDefaultValues = true
|
returnDefaultValues = true
|
||||||
|
all {
|
||||||
|
// All the usual Gradle options.
|
||||||
|
testLogging {
|
||||||
|
events "skipped", "failed", "standardOut", "standardError"
|
||||||
|
showStandardStreams = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user