summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-04add dh-python build dependenciesHEADmasterManuel Traut
buster and sid need dh-python to build with sbuild Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-12-04version bump 1.7Manuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-12-04improve help for parametersManuel Traut
add a help string for each parameter Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-12-04reformat optionparser setupManuel Traut
optionparser setup is hard to read, reformat it. Signed-off-by: Manuel Traut <manut@linutronix.de> Reviewed-by: Benedikt Spranger <b.spranger@linutronix.de>
2018-12-04optional return error-codeManuel Traut
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>
2018-01-10version bump 1.6Manuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-01-10debian: set architecture to allManuel Traut
it was any before, but there is no arch specific code in the python script. Signed-off-by: Manuel Traut <manut@linutronix.de>
2018-01-05add a debian/copyright fileManuel Traut
debian standard expects a copyright file Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-12-14version bump 1.5Manuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-12-14print stdout/stderr during runtimeManuel Traut
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>
2017-12-04add --name Parameter to specify a test-case nameManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-12-04version bump 1.4Manuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-12-04add --class parameterManuel Traut
to specify classname of a testcase, if not given it defaults to 'sh' Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-12-04update .gitignore fileManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-12-04add option parser and --version parameterManuel Traut
future extensions will need an optionparser. also a --version parameter is useful. Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-12-04add license informationsManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-12-04Refine DependenciesBenedikt Spranger
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>
2017-11-22version bump 1.3Manuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-11-22reprint stdout and stderrManuel Traut
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>
2017-09-20version bump 1.2Manuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-09-20implement runtime measurementManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-09-20version bump 1.1Manuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-09-20add copyright informationManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-09-20be more specific about bytes and stringsManuel Traut
needed to run with python3 Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-09-19rename into pyjutestManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-09-19initial importManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>