[K/N] Support cross targets in FileCheckTest

Also mark property's getter with Input and Optional annotations instead of
property itself.
This commit is contained in:
Sergey Bogolepov
2022-02-02 18:03:46 +03:00
committed by Space
parent 34cb79fc9f
commit ad793ac624
3 changed files with 46 additions and 16 deletions
@@ -5895,6 +5895,7 @@ Task fileCheckTest(String name, Closure<FileCheckTest> configureClosure) {
return project.tasks.create(name, FileCheckTest) { task ->
task.configure(configureClosure)
task.llvmIr = project.file("$testOutputFileCheck/$name/$target/out.${task.phaseToCheck}.ll")
def target = task.target
if (task.enabled) {
konanArtifacts {
def lib = task.interop