backend: Generate assert call depending on the compiler key

This commit is contained in:
Ilya Matveev
2017-03-10 16:30:57 +03:00
committed by ilmat192
parent 30be84cd55
commit 97b5bb527d
6 changed files with 30 additions and 6 deletions
@@ -75,9 +75,10 @@ abstract class KonanTest extends JavaExec {
classpath = project.configurations.cli_bc
enableAssertions = true
args = ["-output", output,
*filesToCompile,
*moreArgs,
*project.globalArgs]
"-ea",
*filesToCompile,
*moreArgs,
*project.globalArgs]
standardOutput = log
errorOutput = log
super.exec()