[Test] Enable reporting errors from fronted to testdata of codegen tests

This commit is contained in:
Dmitriy Novozhilov
2021-05-14 15:48:34 +03:00
committed by TeamCityServer
parent df60e7368a
commit 47e258ef6e
28 changed files with 116 additions and 23 deletions
@@ -5,6 +5,7 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// DONT_RUN_GENERATED_CODE: JS
// IGNORE_BACKEND: JS
// IGNORE_FIR_DIAGNOSTICS_DIFF
tailrec fun test(x : Int) : Int {
if (x == 1) {
@@ -20,4 +21,4 @@ tailrec fun test(x : Int) : Int {
return -1
}
fun box() : String = if (test(1000000) == -1) "OK" else "FAIL"
fun box() : String = if (test(1000000) == -1) "OK" else "FAIL"