Simple sanity check of cross compilation build and compiler execution.

This commit is contained in:
Alexander Gorshenev
2017-05-18 17:30:36 +03:00
committed by alexander-gorshenev
parent 7b2f3923a6
commit 2283a941b7
2 changed files with 20 additions and 0 deletions
@@ -262,6 +262,12 @@ class RunKonanTest extends KonanTest {
// from IDEA. Use the RunKonanTest instead.
@ParallelizableTask
class RunDriverKonanTest extends KonanTest {
RunDriverKonanTest() {
super()
dependsOn(project.rootProject.tasks['cross_dist'])
}
void compileTest(List<String> filesToCompile, String exe) {
runCompiler(filesToCompile, exe, flags?:[])
}