Changeset 776caaed in rtems


Ignore:
Timestamp:
Dec 20, 2017, 6:51:11 PM (22 months ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.10
Children:
78b867e2
Parents:
83e6cefa
git-author:
Gedare Bloom <gedare@…> (12/20/17 18:51:11)
git-committer:
Gedare Bloom <gedare@…> (03/23/18 15:33:59)
Message:

sptests: Add spmutex01 to build

Location:
testsuites/sptests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/Makefile.am

    r83e6cefa r776caaed  
    2424    spintrcritical13 spintrcritical14 spintrcritical15 spintrcritical16 \
    2525    spintrcritical17
    26 
     26_SUBDIRS += spmutex01
    2727_SUBDIRS += spsem01 spsem02 spsem03 spsem04 spsem05
    2828 
  • testsuites/sptests/configure.ac

    r83e6cefa r776caaed  
    129129spintrcritical16/Makefile
    130130spintrcritical17/Makefile
     131spmutex01/Makefile
    131132spnotepad01/Makefile
    132133spobjgetnext/Makefile
  • testsuites/sptests/spmutex01/init.c

    r83e6cefa r776caaed  
    462462{
    463463  test_context *ctx = &test_instance;
    464   rtems_resource_snapshot snapshot;
    465 
    466   TEST_BEGIN();
    467   rtems_resource_snapshot_take(&snapshot);
     464
     465  printf("*** BEGIN OF TEST SPMUTEX 1 ***\n");
    468466
    469467  set_up(ctx);
     
    476474  tear_down(ctx);
    477475
    478   rtems_test_assert(rtems_resource_snapshot_check(&snapshot));
    479   TEST_END();
     476  printf("*** END OF TEST SPMUTEX 1 ***\n");
    480477  rtems_test_exit(0);
    481478}
     
    488485#define CONFIGURE_MAXIMUM_SEMAPHORES 3
    489486
    490 #ifdef RTEMS_POSIX_API
    491 #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 1
    492 #endif
    493 
    494 #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
    495 
    496487#define CONFIGURE_INIT_TASK_PRIORITY 3
    497488
Note: See TracChangeset for help on using the changeset viewer.