[PATCH 0/8] Test Framework: Support Fixture Test Plans

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Aug 13 10:11:25 UTC 2020


The functions T_push_fixture() and T_pop_fixture() were added to support
nested fixtures.  This enables test building blocks.  The patch set adds
fixture-specific test plans to allow the use of test plans with nested
fixtures.

Sebastian Huber (8):
  libtest: Change fixture scope method
  libtest: Add output buffer drain and fill
  libtest: Add T_do_is_runner()
  libtest: Add T_puts()
  libtest: Use line buffer in T_check()
  libtest: Add T_check_steps()
  libtest: Add fixture steps
  libtest: Change T_step() and T_assert_step()

 cpukit/include/rtems/test.h                   |  31 +-
 cpukit/libtest/t-test.c                       | 480 +++++++++++-------
 testsuites/libtests/ttest01/init.c            |   2 +-
 testsuites/libtests/ttest01/test-destructor.c |   2 +-
 testsuites/libtests/ttest01/test-fixture.c    |  42 +-
 testsuites/libtests/ttest01/test-plan.c       |   6 +-
 testsuites/libtests/ttest02/init.c            |   7 +-
 testsuites/smptests/smpmulticast01/init.c     |  16 +-
 8 files changed, 371 insertions(+), 215 deletions(-)

-- 
2.26.2



More information about the devel mailing list