[Gradle, JS] Fix cli tests for ir

KT-60495
This commit is contained in:
Ilya Goncharov
2023-07-26 12:51:37 +00:00
committed by Space Team
parent 3b878336dd
commit 1f9af4b452
25 changed files with 111 additions and 72 deletions
@@ -70,6 +70,8 @@ public abstract class AbstractCliTest extends TestCaseWithTmpdir {
int next = args.subList(index, args.size()).indexOf("---");
if (next == -1) {
next = args.size();
} else {
next = index + next;
}
Pair<String, ExitCode> pair = CompilerTestUtil.executeCompiler(compiler, args.subList(index, next));
output.append(pair.getFirst());