Switch off logging for failing IrBlackBox tests

Logging of tests that are expected to fail is controlled by
kotlin.suppress.expected.test.failures project property.
This commit is contained in:
Georgy Bronnikov
2018-11-06 21:22:01 +03:00
parent b154d10cc5
commit a35f368ce0
7 changed files with 94 additions and 45 deletions
@@ -25,7 +25,7 @@ class Java9CodegenTest : AbstractBlackBoxCodegenTest() {
override fun getPrefix(): String = "java9/box"
override fun blackBox() {
override fun blackBox(reportFailures: Boolean) {
val tmpdir = KotlinTestUtils.tmpDirForTest(this)
generateClassesInFile().writeAll(tmpdir, null)
@@ -49,6 +49,6 @@ class Java9CodegenTest : AbstractBlackBoxCodegenTest() {
fun testVarHandle() {
loadFile()
blackBox()
blackBox(true)
}
}