Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
tapasco
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
52
Issues
52
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tapasco
tapasco
Commits
a1f392c6
Commit
a1f392c6
authored
Jun 05, 2019
by
Lukas Weber
Committed by
Lukas Sommer
Jun 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Testing and fixed typos; Closes
#53
parent
856f4e2c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
src/main/scala/tapasco/Tapasco.scala
src/main/scala/tapasco/Tapasco.scala
+1
-1
src/main/scala/tapasco/jobs/json/package.scala
src/main/scala/tapasco/jobs/json/package.scala
+1
-1
src/main/scala/tapasco/parser/Usage.scala
src/main/scala/tapasco/parser/Usage.scala
+2
-2
src/test/scala/tapasco/parser/CommonArgParsersSpec.scala
src/test/scala/tapasco/parser/CommonArgParsersSpec.scala
+3
-1
No files found.
src/main/scala/tapasco/Tapasco.scala
View file @
a1f392c6
...
@@ -123,7 +123,7 @@ object Tapasco {
...
@@ -123,7 +123,7 @@ object Tapasco {
if
(!
ok
)
{
if
(!
ok
)
{
logger
.
error
(
"TaPaSCo finished with errors"
)
logger
.
error
(
"TaPaSCo finished with errors"
)
//
sys.exit(1)
sys
.
exit
(
1
)
}
else
{
}
else
{
logger
.
info
(
"TaPaSCo finished successfully"
)
logger
.
info
(
"TaPaSCo finished successfully"
)
}
}
...
...
src/main/scala/tapasco/jobs/json/package.scala
View file @
a1f392c6
...
@@ -146,7 +146,7 @@ package object json {
...
@@ -146,7 +146,7 @@ package object json {
(
JsPath
\
"Platforms"
).
readNullable
[
Seq
[
String
]]
~
(
JsPath
\
"Platforms"
).
readNullable
[
Seq
[
String
]]
~
(
JsPath
\
"Features"
).
readNullable
[
Seq
[
Feature
]]
~
(
JsPath
\
"Features"
).
readNullable
[
Seq
[
Feature
]]
~
(
JsPath
\
"DebugMode"
).
readNullable
[
String
]
~
(
JsPath
\
"DebugMode"
).
readNullable
[
String
]
~
(
JsPath
\
"Delete
Ürpk
ects"
).
readNullable
[
Boolean
]
(
JsPath
\
"Delete
Proj
ects"
).
readNullable
[
Boolean
]
)
(
DesignSpaceExplorationJob
.
apply
_
)
)
(
DesignSpaceExplorationJob
.
apply
_
)
implicit
val
dseJobWrites
:
Writes
[
DesignSpaceExplorationJob
]
=
(
implicit
val
dseJobWrites
:
Writes
[
DesignSpaceExplorationJob
]
=
(
...
...
src/main/scala/tapasco/parser/Usage.scala
View file @
a1f392c6
...
@@ -163,7 +163,7 @@ configuration via `tapasco -n config.json`.
...
@@ -163,7 +163,7 @@ configuration via `tapasco -n config.json`.
"""default: "Vivado""""
)
&
"""default: "Vivado""""
)
&
Arg
(
"--features FEATURES"
,
"configures Features, see `tapasco -h features`"
&
Arg
(
"--features FEATURES"
,
"configures Features, see `tapasco -h features`"
&
"syntax: FEATURE [, FEATURE]*"
)
&
"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:"
)
&
Arg
(
"--debugMode NAME"
,
"dry run, no composition is executed; modes:"
)
&
Indent
(
Arg
(
" r"
,
"generate random result values"
)
&
Indent
(
Arg
(
" r"
,
"generate random result values"
)
&
Arg
(
" f"
,
"generate only timing failures"
)
&
Arg
(
" f"
,
"generate only timing failures"
)
&
...
@@ -318,7 +318,7 @@ configuration via `tapasco -n config.json`.
...
@@ -318,7 +318,7 @@ configuration via `tapasco -n config.json`.
"default: number of CPUs"
)
&
"default: number of CPUs"
)
&
Arg
(
"--debugMode NAME"
,
"dry run, no compositions are executed, see"
~
Arg
(
"--debugMode NAME"
,
"dry run, no compositions are executed, see"
~
"`tapasco -h compose`"
)
&
"`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`"
&
Arg
(
"--features FEATURES"
,
"configures Features, see `tapasco -h features`"
&
"syntax: FEATURE [, FEATURE]*"
)
&
"syntax: FEATURE [, FEATURE]*"
)
&
Arg
(
"--heuristic NAME"
,
"select heuristic function"
&
Arg
(
"--heuristic NAME"
,
"select heuristic function"
&
...
...
src/test/scala/tapasco/parser/CommonArgParsersSpec.scala
View file @
a1f392c6
...
@@ -108,7 +108,9 @@ private object CommonArgParsersSpec {
...
@@ -108,7 +108,9 @@ private object CommonArgParsersSpec {
qstringGen
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
(
val
implementationGen
:
Gen
[
String
]
=
join
(
Seq
(
genLongOption
(
"implementation"
),
genLongOption
(
"implementation"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment