Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
argotk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argo
argotk
Commits
1b5e2857
Commit
1b5e2857
authored
Jan 28, 2019
by
Valentin Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating test description printing.
parent
c2381962
Pipeline
#5029
passed with stage
in 2 minutes and 9 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
24 deletions
+31
-24
.gitignore
.gitignore
+1
-0
README.md
README.md
+29
-23
src/argotk.hs
src/argotk.hs
+1
-1
No files found.
.gitignore
View file @
1b5e2857
.argo_nodeos_config_exit_message
dist
_output
result
.shake
...
...
README.md
View file @
1b5e2857
...
...
@@ -24,27 +24,33 @@ Available options:
Available commands:
clean Clean sockets, logfiles.
DaemonOnly testSet up and launch the daemon in synchronous mode.
DaemonAndApp testSet up and start daemon, run a command in a
container.
CsvLogs testSet up and start daemon, run a command in a
container and log performance+power+progress.
TestHello testSetup stack and check that a hello world app
sends message back to cmd's stdout.
TestListen testSetup stack, run command and check that cmd
listen receives at least the container_exit message
from the daemon.
TestPerfwrapper testSetup stack and check that argo-perf-wrapper
sends at least one *performance* message to cmd
listen through the daemon.
TestPower testSetup stack and check that the daemon sends at
least one *power* message to cmd listen.
TestAMG testSetup stack, run AMG and check that it sends at
least one progress message to the daemon.
TestSTREAM testSetup stack, run STREAM and check that it sends
at least one progress message to the daemon.
RunAMG testSet up and start daemon, run app in a container.
RunSTREAM testSet up and start daemon, run app in a container.
DaemonOnly Test description: Set up and launch the daemon in
synchronous mode.
DaemonAndApp Test description: Set up and start daemon, run a
command in a container.
CsvLogs Test description: Set up and start daemon, run a
command in a container and log
performance+power+progress.
TestHello Test description: Setup stack and check that a hello
world app sends message back to cmd's stdout.
TestListen Test description: Setup stack, run command and check
that cmd listen receives at least the container_exit
message from the daemon.
TestPerfwrapper Test description: Setup stack and check that
argo-perf-wrapper sends at least one *performance*
message to cmd listen through the daemon.
TestPower Test description: Setup stack and check that the
daemon sends at least one *power* message to cmd
listen.
TestAMG Test description: Setup stack, run AMG and check that
it sends at least one progress message to the daemon.
TestSTREAM Test description: Setup stack, run STREAM and check
that it sends at least one progress message to the
daemon.
RunAMG Test description: Set up and start daemon, run app in
a container.
RunSTREAM Test description: Set up and start daemon, run app in
a container.
tests Run hardware-independent CI tests
```
...
...
@@ -65,8 +71,8 @@ Usage: argotk TestHello [-v|--verbose] [--app APP]
[--cmd_listen_performance BEHAVIOR]
[--cmd_listen_progress BEHAVIOR]
[--cmd_listen_power BEHAVIOR] [ARGS]
testSetup stack and check that a hello world app sends message back to cmd's
stdout.
Test description: Setup stack and check that a hello world app sends message
back to cmd's
stdout.
Available options:
-v,--verbose Enable verbose mode
...
...
src/argotk.hs
View file @
1b5e2857
...
...
@@ -28,7 +28,7 @@ opts sa = hsubparser
where
action
ttype
=
doOverridenTest
ttype
<$>
parseExtendStackArgs
((
stackArgsUpdate
$
configureTest
ttype
)
sa
)
descTest
ttype
=
"
test
"
++
description
(
configureTest
ttype
)
descTest
ttype
=
"
Test description:
"
++
description
(
configureTest
ttype
)
commandTest
ttype
=
command
(
show
ttype
)
$
info
(
action
ttype
)
(
progDesc
$
descTest
ttype
)
commandTests
ttypes
cmdStr
descStr
=
...
...
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