Added tests on link stage (disabled for now).

This commit is contained in:
Igor Chevdar
2017-03-27 11:28:02 +03:00
parent 6381b4d831
commit 00e452bcdf
4 changed files with 20 additions and 2 deletions
@@ -249,8 +249,8 @@ class LinkKonanTest extends KonanTest {
def libDir = project.file(lib).absolutePath
def libBc = "${libDir}.bc"
runCompiler(lib, libBc, ['-nolink'])
runCompiler(filesToCompile, exe, ['-library', libBc])
runCompiler(lib, libBc, ['-nolink'] + ((flags != null) ? flags :[]))
runCompiler(filesToCompile, exe, ['-library', libBc] + ((flags != null) ? flags :[]))
}
}