Changeset 258bda3 in rtems for testsuites/fstests


Ignore:
Timestamp:
Apr 3, 2017, 10:11:24 PM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
b3bfc242
Parents:
d2a45a58
git-author:
Chris Johns <chrisj@…> (04/03/17 22:11:24)
git-committer:
Chris Johns <chrisj@…> (04/03/17 22:24:22)
Message:

testsuite: Add a common test configuration. Fix configure.ac and Makefile.am errors.

  • Add a top level test configuration file for test states that are common to all BSPs. This saves adding a test configuration (tcfg) file for every BSP.
  • Add the test states 'user-input' and 'benchmark'. This lets 'rtems-test' stop the test rather than waiting for a timeout or letting a benchmark run without the user asking for it to run.
  • Implement rtems-test-check in Python to make it faster. The shell script had grown to a point it was noticably slowing the build down.
  • Fix the configure.ac and Makefile.am files for a number of the test directories. The files are difficiult to keep in sync with the number of tests and mistakes can happen such as tests being left out of the build. The test fsrofs01 is an example. Also a there was a mix of SUBDIRS and _SUBDIRS being used and only _SUBDIRS should be used.
  • Fix the test fsrofs01 so it compiles.

Closes #2963.

Location:
testsuites/fstests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/fstests/Makefile.am

    rd2a45a58 r258bda3  
    11ACLOCAL_AMFLAGS = -I ../aclocal
    22
    3 _SUBDIRS =
    4 _SUBDIRS += fsjffs2gc01
    5 _SUBDIRS += fsimfsconfig03
    6 _SUBDIRS += fsimfsconfig02
    7 _SUBDIRS += fsimfsconfig01
     3_SUBDIRS  =
     4_SUBDIRS += fsbdpart01
     5_SUBDIRS += fsdosfsformat01
    86_SUBDIRS += fsdosfsname01
    97_SUBDIRS += fsdosfsname02
     8_SUBDIRS += fsdosfssync01
    109_SUBDIRS += fsdosfswrite01
    11 _SUBDIRS += fsdosfsformat01
    1210_SUBDIRS += fsfseeko01
    13 _SUBDIRS += fsdosfssync01
     11_SUBDIRS += fsimfsconfig01
     12_SUBDIRS += fsimfsconfig02
     13_SUBDIRS += fsimfsconfig03
     14_SUBDIRS += fsimfsgeneric01
     15_SUBDIRS += fsjffs2gc01
     16_SUBDIRS += fsnofs01
     17_SUBDIRS += fsrfsbitmap01
     18_SUBDIRS += fsrofs01
    1419_SUBDIRS += imfs_fserror
    1520_SUBDIRS += imfs_fslink
     
    3136_SUBDIRS += mdosfs_fspatheval
    3237_SUBDIRS += mdosfs_fsrdwr
     38_SUBDIRS += mdosfs_fsscandir01
    3339_SUBDIRS += mdosfs_fsstatvfs
    34 _SUBDIRS += mdosfs_fsscandir01
    3540_SUBDIRS += mdosfs_fstime
    3641_SUBDIRS += mimfs_fserror
     
    3944_SUBDIRS += mimfs_fspermission
    4045_SUBDIRS += mimfs_fsrdwr
     46_SUBDIRS += mimfs_fsrename
    4147_SUBDIRS += mimfs_fsscandir01
    4248_SUBDIRS += mimfs_fssymlink
    4349_SUBDIRS += mimfs_fstime
    44 _SUBDIRS += mimfs_fsrename
    4550_SUBDIRS += mrfs_fserror
     51_SUBDIRS += mrfs_fsfpathconf
    4652_SUBDIRS += mrfs_fslink
    4753_SUBDIRS += mrfs_fspatheval
     
    5157_SUBDIRS += mrfs_fssymlink
    5258_SUBDIRS += mrfs_fstime
    53 _SUBDIRS += mrfs_fsfpathconf
    54 _SUBDIRS += fsrfsbitmap01
    55 _SUBDIRS += fsnofs01
    56 _SUBDIRS += fsimfsgeneric01
    57 _SUBDIRS += fsbdpart01
    5859
    5960EXTRA_DIST =
     
    6465EXTRA_DIST += support/fstest.h
    6566
    66 include $(top_srcdir)/../automake/test-subdirs.am
     67include $(top_srcdir)/../automake/subdirs.am
    6768include $(top_srcdir)/../automake/local.am
  • testsuites/fstests/configure.ac

    rd2a45a58 r258bda3  
    7878# Explicitly list all Makefiles here
    7979AC_CONFIG_FILES([Makefile
    80 fsjffs2gc01/Makefile
    81 fsimfsconfig03/Makefile
    82 fsimfsconfig02/Makefile
    83 fsimfsconfig01/Makefile
     80fsbdpart01/Makefile
     81fsdosfsformat01/Makefile
    8482fsdosfsname01/Makefile
    8583fsdosfsname02/Makefile
     84fsdosfssync01/Makefile
    8685fsdosfswrite01/Makefile
    87 fsdosfsformat01/Makefile
    8886fsfseeko01/Makefile
    89 fsdosfssync01/Makefile
     87fsimfsconfig01/Makefile
     88fsimfsconfig02/Makefile
     89fsimfsconfig03/Makefile
     90fsimfsgeneric01/Makefile
     91fsjffs2gc01/Makefile
     92fsnofs01/Makefile
     93fsrfsbitmap01/Makefile
     94fsrofs01/Makefile
    9095imfs_fserror/Makefile
    9196imfs_fslink/Makefile
     
    115120mimfs_fspermission/Makefile
    116121mimfs_fsrdwr/Makefile
     122mimfs_fsrename/Makefile
    117123mimfs_fsscandir01/Makefile
    118124mimfs_fssymlink/Makefile
    119125mimfs_fstime/Makefile
    120 mimfs_fsrename/Makefile
    121126mrfs_fserror/Makefile
     127mrfs_fsfpathconf/Makefile
    122128mrfs_fslink/Makefile
    123129mrfs_fspatheval/Makefile
     
    127133mrfs_fssymlink/Makefile
    128134mrfs_fstime/Makefile
    129 mrfs_fsfpathconf/Makefile
    130 fsrfsbitmap01/Makefile
    131 fsnofs01/Makefile
    132 fsimfsgeneric01/Makefile
    133 fsbdpart01/Makefile
    134 
    135135])
    136136AC_OUTPUT
  • testsuites/fstests/fsrofs01/init.c

    rd2a45a58 r258bda3  
    154154static void Init(rtems_task_argument arg)
    155155{
    156   TEST_BEGIN():
     156  TEST_BEGIN();
    157157
    158158  test_create_file_system();
    159159  test_rofs();
    160160
    161   TEST_END():
     161  TEST_END();
    162162  rtems_test_exit(0);
    163163}
Note: See TracChangeset for help on using the changeset viewer.