Fix two stage tests: don't try to run on empty input
This commit is contained in:
committed by
Pavel Punegov
parent
edf13fdfa9
commit
ef3baa3f2a
@@ -491,8 +491,10 @@ fun runTest() {
|
||||
def files = compileList.stream()
|
||||
.map { it.path }
|
||||
.collect(Collectors.toList())
|
||||
runCompiler(files, klibPath, flags + ["-p", "library"])
|
||||
runCompiler([], executablePath(), flags + ["-Xinclude=$klibPath"])
|
||||
if (!files.empty) {
|
||||
runCompiler(files, klibPath, flags + ["-p", "library"])
|
||||
runCompiler([], executablePath(), flags + ["-Xinclude=$klibPath"])
|
||||
}
|
||||
} else {
|
||||
// Regular compilation with modules.
|
||||
Map<String, TestModule> modules = compileList.stream()
|
||||
|
||||
Reference in New Issue
Block a user