Commit a1f392c6 authored by Lukas Weber's avatar Lukas Weber Committed by Lukas Sommer

Added Testing and fixed typos; Closes #53

parent 856f4e2c
......@@ -123,7 +123,7 @@ object Tapasco {
if (! ok) {
logger.error("TaPaSCo finished with errors")
//sys.exit(1)
sys.exit(1)
} else {
logger.info("TaPaSCo finished successfully")
}
......
......@@ -146,7 +146,7 @@ package object json {
(JsPath \ "Platforms").readNullable[Seq[String]] ~
(JsPath \ "Features").readNullable[Seq[Feature]] ~
(JsPath \ "DebugMode").readNullable[String] ~
(JsPath \ "DeleteÜrpkects").readNullable[Boolean]
(JsPath \ "DeleteProjects").readNullable[Boolean]
) (DesignSpaceExplorationJob.apply _)
implicit val dseJobWrites: Writes[DesignSpaceExplorationJob] = (
......
......@@ -163,7 +163,7 @@ configuration via `tapasco -n config.json`.
"""default: "Vivado"""") &
Arg("--features FEATURES", "configures Features, see `tapasco -h features`" &
"syntax: FEATURE [, FEATURE]*") &
Arg("--deleteProjects", "delete all generated Project-Files") &
Arg("--deleteProjects (true | false)?", "Spefify whether project files are deleted or kept") &
Arg("--debugMode NAME", "dry run, no composition is executed; modes:") &
Indent(Arg(" r", "generate random result values") &
Arg(" f", "generate only timing failures") &
......@@ -318,7 +318,7 @@ configuration via `tapasco -n config.json`.
"default: number of CPUs") &
Arg("--debugMode NAME", "dry run, no compositions are executed, see" ~
"`tapasco -h compose`") &
Arg("--deleteProjects", "Delete all generated Project-Files") &
Arg("--deleteProjects ( true | false )?", "Spefify whether project files are deleted or kept") &
Arg("--features FEATURES", "configures Features, see `tapasco -h features`" &
"syntax: FEATURE [, FEATURE]*") &
Arg("--heuristic NAME", "select heuristic function" &
......
......@@ -108,7 +108,9 @@ private object CommonArgParsersSpec {
qstringGen
))
val deleteProjectsGen: Gen[String] = join(Seq(genLongOption("deleteProjects")))
val booleanOrNoneGen: Gen[String] = Gen.oneOf("true", "false", "")
val deleteProjectsGen: Gen[String] = join(Seq(genLongOption("deleteProjects"), booleanOrNoneGen))
val implementationGen: Gen[String] = join(Seq(
genLongOption("implementation"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment