All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/5] VSP-Tests: Add suspend resume tests and helpers
@ 2016-12-01 21:31 Kieran Bingham
  2016-12-01 21:31 ` [PATCHv2 1/5] scripts: Test suite runner Kieran Bingham
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Kieran Bingham @ 2016-12-01 21:31 UTC (permalink / raw)
  To: Laurent Pinchart, Kieran Bingham; +Cc: linux-renesas-soc

From: Kieran Bingham <kieran.bingham@ideasonboard.com>

Following on from previous useful feedback, I have reworked the supporting
scripts and tests.

Provide two tests for suspend/resume cycles. One will verify the VSP1 is
functional with a test before and after a suspend cycle. The other will
maintain an active pipeline which must succeed despite a suspend resume cycle
occuring in the middle of the test.

Along side these tests are a couple of helpers that I have locally and thought
they might be useful to others, so I'm posting for review. A test suite runner
simplifies executing all vsp-unit tests, and provides the ability to easily
repeat the test suite (for example to run an overnight longevity test).

'bin2png.sh' is a wrapper around the existing tools that helps convert the test
files generated by VSP-Tests into png files for easy viewing.

Finally, I have extended 'logger.sh' to also log to the FTrace buffer. As I have
been making greater use of ftrace for register write capture, and driver flow -
this addition helps separate multiple tests from the ftrace kernelshark view.

Kieran Bingham (5):
  scripts: Test suite runner
  scripts: Provide bin2png.sh helper
  logger: Log to the FTrace buffer if tracing is enabled
  tests: Test suspend/resume on idle pipelines
  tests: Test suspend/resume on active pipelines

 scripts/Makefile            |   2 +-
 scripts/bin2png.sh          |  36 ++++++++++++++++
 scripts/logger.sh           |  13 +++++-
 scripts/vsp-tests.sh        |  49 +++++++++++++++++++++
 tests/vsp-unit-test-0019.sh | 101 ++++++++++++++++++++++++++++++++++++++++++++
 tests/vsp-unit-test-0020.sh |  97 ++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 296 insertions(+), 2 deletions(-)
 create mode 100755 scripts/bin2png.sh
 create mode 100755 scripts/vsp-tests.sh
 create mode 100755 tests/vsp-unit-test-0019.sh
 create mode 100755 tests/vsp-unit-test-0020.sh

-- 
2.7.4

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-02-21 18:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-01 21:31 [PATCHv2 0/5] VSP-Tests: Add suspend resume tests and helpers Kieran Bingham
2016-12-01 21:31 ` [PATCHv2 1/5] scripts: Test suite runner Kieran Bingham
2017-02-13 13:15   ` Laurent Pinchart
2016-12-01 21:31 ` [PATCHv2 2/5] scripts: Provide bin2png.sh helper Kieran Bingham
2017-02-13 14:03   ` Laurent Pinchart
2017-02-13 14:17     ` Geert Uytterhoeven
2017-02-13 14:24       ` Laurent Pinchart
2017-02-20 17:47     ` Kieran Bingham
2017-02-20 20:45       ` Geert Uytterhoeven
2017-02-21 18:00         ` Kieran Bingham
2016-12-01 21:31 ` [PATCHv2 3/5] logger: Log to the FTrace buffer if tracing is enabled Kieran Bingham
2017-02-13 14:21   ` Laurent Pinchart
2016-12-01 21:31 ` [PATCHv2 4/5] tests: Test suspend/resume on idle pipelines Kieran Bingham
2016-12-01 21:31 ` [PATCHv2 5/5] tests: Test suspend/resume on active pipelines Kieran Bingham
2017-02-13 14:38   ` Laurent Pinchart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.