| Age | Commit message (Collapse) | Author |
|
buster and sid need dh-python to build with sbuild
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
add a help string for each parameter
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
optionparser setup is hard to read, reformat it.
Signed-off-by: Manuel Traut <manut@linutronix.de>
Reviewed-by: Benedikt Spranger <b.spranger@linutronix.de>
|
|
Add an option. If enabled pyjutest returns the returncode of the
command under test. If not, pyjutest stores the returnvalue of
the command under test just in the junit file.
This can be used to abort an underlaying test or testframework.
Signed-off-by: Manuel Traut <manut@linutronix.de>
Reviewed-by: Benedikt Spranger <b.spranger@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
it was any before, but there is no arch specific code in the python
script.
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
debian standard expects a copyright file
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
If pyjustest is used with a test command, that prints an input request
to stdout and afterwards waits for the input, it waits forever. The
reason for this is, that stdout and stderr is printed only after the
test command was executed completely.
Instead of printing stdout and stderr after execution of the
test-command print it as it occurs.
This also provides meaningful timestamps if run in a timestamp wrapped
environment like jenkins.
Signed-off-by: Manuel Traut <manut@linutronix.de>
Reviewed-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
to specify classname of a testcase, if not given it defaults to 'sh'
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
future extensions will need an optionparser.
also a --version parameter is useful.
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
The package pyjutest build no shared libraries, but contain
python3 scripts. Change shared library dependency makro to python3
dependency makro.
Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
Signed-off-by: Manuel Traut <manut@linutronix.de>
Reviewed-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
if pyjutest is used in e.g. jenkins and a command after the pyjutest call and
before archiving the unit file fails, the output of the command is lost.
To avoid this, pyjutest now redirects the original output of the
command.
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
needed to run with python3
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|
|
Signed-off-by: Manuel Traut <manut@linutronix.de>
|