mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-09 15:29:32 +07:00
"Make travis output test output" take 2
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
@ -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})")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
)
|
)
|
||||||
|
@ -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!
|
||||||
|
Reference in New Issue
Block a user