Add -Xexpect-actual-linker to the directives parsing

This commit is contained in:
Pavel Punegov
2020-07-08 19:12:53 +03:00
committed by Pavel Punegov
parent aa659475f1
commit 10484fbb29
@@ -220,6 +220,10 @@ class RunExternalTestGroup extends JavaExec {
line.split(" ").toList().forEach { flags.add("-Xopt-in=$it") }
}
}
def expectActualLinker = findLinesWithPrefixesRemoved(text, "// EXPECT_ACTUAL_LINKER")
if (expectActualLinker.size() != 0) {
flags.add("-Xexpect-actual-linker")
}
}
static String markMutableObjects(String text) {