[Pdbg] [PATCH 0/4] Enable testing and add some tests

Alistair Popple alistair at popple.id.au
Mon Aug 13 15:55:42 AEST 2018


Excellent! Love the simplicity of defining tests with simple shell scripts.
Thanks.

Joel, do you know if it's possible to integrate these into our CI system so that
we can get results of `make check` in patchwork?

- Alistair

On Monday, 13 August 2018 1:05:02 PM AEST Amitay Isaacs wrote:
> This patchset adds a test framework for simple shell based tests.  This allows
> to execute pdbg commands and match the output.
> 
> First set of tests are for target selection using -p/-c/-t/-a.
> 
> Amitay Isaacs (4):
>   configure: Enable tests
>   tests: Add simple shell test drivers
>   gitignore: Ignore tests related files
>   tests: Add target selection tests
> 
>  .gitignore              |   3 +
>  Makefile.am             |  16 +-
>  tests/driver.sh         | 247 ++++++++++++++++++++
>  tests/run_test.sh       |  91 ++++++++
>  tests/test_driver.sh    |  38 +++
>  tests/test_selection.sh | 496 ++++++++++++++++++++++++++++++++++++++++
>  6 files changed, 889 insertions(+), 2 deletions(-)
>  create mode 100644 tests/driver.sh
>  create mode 100755 tests/run_test.sh
>  create mode 100755 tests/test_driver.sh
>  create mode 100755 tests/test_selection.sh
> 
> 




More information about the Pdbg mailing list