Skip to content

Commit 8c8c516

Browse files
committed
cli.test: Added further checks for complex compile
1 parent 99fbe61 commit 8c8c516

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/de.cau.cs.kieler.cli.test/src/de/cau/cs/kieler/cli/test/SCChartsCLITest.xtend

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,11 @@ class SCChartsCLITest extends AbstractCLITest {
182182

183183
val wd = new File(dir, "sctx/abo")
184184
val local_compiler = wd.toPath.resolve(compiler.name)
185+
186+
// copy to local
185187
Files.copy(compiler.toPath, local_compiler, StandardCopyOption.REPLACE_EXISTING)
188+
assertTrue("Failed to copy compiler from " + compiler.toPath.toString + " to local test folder " + local_compiler.toString, local_compiler.toFile.isFile)
189+
assertTrue("Cannot set executable flag of compiler", local_compiler.toFile.setExecutable(true))
186190

187191
// compiler
188192
val command = #[new File("./" + compiler.name).path, "-v", "-s", "de.cau.cs.kieler.sccharts.netlist", "-o", "code", "-ig", "kieler-gen", "abo.sctx"]

0 commit comments

Comments
 (0)