[K/N] Fix filecheck tests

This commit is contained in:
Sergey Bogolepov
2023-01-24 17:10:21 +02:00
committed by Space Team
parent 851d84a865
commit 9f4e086ff9
@@ -6329,7 +6329,7 @@ Task fileCheckTest(String name, Closure<FileCheckTest> configureClosure) {
extraOpts project.globalTestArgs extraOpts project.globalTestArgs
} }
extraOpts task.extraOpts extraOpts task.extraOpts
extraOpts "-Xtemporary-files-dir=$testOutputFileCheck/$name/$target" extraOpts "-Xsave-llvm-ir-directory=$testOutputFileCheck/$name/$target"
extraOpts "-Xsave-llvm-ir-after=${task.phaseToCheck}" extraOpts "-Xsave-llvm-ir-after=${task.phaseToCheck}"
if (lib != null) { if (lib != null) {
libraries { libraries {
@@ -6345,7 +6345,7 @@ Task fileCheckTest(String name, Closure<FileCheckTest> configureClosure) {
if (!isCrossCompiling) { if (!isCrossCompiling) {
extraOpts project.globalTestArgs extraOpts project.globalTestArgs
} }
extraOpts "-Xtemporary-files-dir=$testOutputFileCheck/$name/$target" extraOpts "-Xsave-llvm-ir-directory=$testOutputFileCheck/$name/$target"
extraOpts "-Xsave-llvm-ir-after=${task.phaseToCheck}" extraOpts "-Xsave-llvm-ir-after=${task.phaseToCheck}"
if (lib != null) { if (lib != null) {