"Make travis output test output" take 2

This commit is contained in:
Yair Morgenstern
2020-09-03 17:33:56 +03:00
parent 6de4300cb8
commit f9f0b93d4e
4 changed files with 7 additions and 10 deletions

View File

@ -1,4 +1,4 @@
language: android language: android
dist: trusty # For oracleJDK fail errors, as per advice from https://travis-ci.community/t/error-installing-oraclejdk8-expected-feature-release-number-in-range-of-9-to-14-but-got-8/3766/6 dist: trusty # For oracleJDK fail errors, as per advice from https://travis-ci.community/t/error-installing-oraclejdk8-expected-feature-release-number-in-range-of-9-to-14-but-got-8/3766/6

View File

@ -226,9 +226,11 @@ object RulesetCache :HashMap<String,Ruleset>() {
if(printOutput) println("Mod loaded successfully: " + modRuleset.name) if(printOutput) println("Mod loaded successfully: " + modRuleset.name)
if(printOutput) checkModLinks(modRuleset) if(printOutput) checkModLinks(modRuleset)
} catch (ex: Exception) { } catch (ex: Exception) {
println("Exception loading mod '${modFolder.name()}':") if (printOutput) {
println(" ${ex.localizedMessage}") println("Exception loading mod '${modFolder.name()}':")
println(" (Source file ${ex.stackTrace[0].fileName} line ${ex.stackTrace[0].lineNumber})") println(" ${ex.localizedMessage}")
println(" (Source file ${ex.stackTrace[0].fileName} line ${ex.stackTrace[0].lineNumber})")
}
} }
} }
} }

View File

@ -12,12 +12,9 @@ java {
tasks { tasks {
test { test {
workingDir = file("../android/assets") workingDir = file("../android/assets")
testLogging.debug { testLogging.lifecycle {
events( events(
TestLogEvent.STARTED,
TestLogEvent.FAILED, TestLogEvent.FAILED,
TestLogEvent.PASSED,
TestLogEvent.SKIPPED,
TestLogEvent.STANDARD_ERROR, TestLogEvent.STANDARD_ERROR,
TestLogEvent.STANDARD_OUT TestLogEvent.STANDARD_OUT
) )

View File

@ -76,8 +76,6 @@ class BasicTests {
UncivGame.Current = UncivGame("") UncivGame.Current = UncivGame("")
UncivGame.Current.settings = GameSettings().apply { language = "Italian" } UncivGame.Current.settings = GameSettings().apply { language = "Italian" }
val x = "+1 Gold, +2 Production".tr()
print(x)
} }
// @Test // This should NOT run as part of the test suite! // @Test // This should NOT run as part of the test suite!