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

Amitay Isaacs amitay at ozlabs.org
Mon Aug 13 13:05:02 AEST 2018


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

-- 
2.17.1



More information about the Pdbg mailing list