Changeset ef16a11 in rtems


Ignore:
Timestamp:
Oct 25, 2018, 9:05:12 AM (5 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
24f3e8f
Parents:
54f35888
git-author:
Sebastian Huber <sebastian.huber@…> (10/25/18 09:05:12)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/29/18 09:52:48)
Message:

posix: Enable psxtmtests tests by default

Update #2514.

Location:
testsuites/psxtmtests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtmtests/Makefile.am

    r54f35888 ref16a11  
    1414support_includes = -I$(top_srcdir)/../support/include
    1515
    16 if HAS_POSIX
    1716if TEST_psxtmbarrier01
    1817psxtm_tests += psxtmbarrier01
     
    2524        -DOPERATION_COUNT=$(OPERATION_COUNT)
    2625endif
    27 endif
    28 
    29 if HAS_POSIX
     26
    3027if TEST_psxtmbarrier02
    3128psxtm_tests += psxtmbarrier02
     
    3835        -DOPERATION_COUNT=$(OPERATION_COUNT)
    3936endif
    40 endif
    41 
    42 if HAS_POSIX
     37
    4338if TEST_psxtmbarrier03
    4439psxtm_tests += psxtmbarrier03
     
    5146        -DOPERATION_COUNT=$(OPERATION_COUNT)
    5247endif
    53 endif
    54 
    55 if HAS_POSIX
     48
    5649if TEST_psxtmbarrier04
    5750psxtm_tests += psxtmbarrier04
     
    6457        -DOPERATION_COUNT=$(OPERATION_COUNT)
    6558endif
    66 endif
    67 
    68 if HAS_POSIX
     59
    6960if TEST_psxtmclocknanosleep01
    7061psxtm_tests += psxtmclocknanosleep01
     
    7869        -DOPERATION_COUNT=$(OPERATION_COUNT)
    7970endif
    80 endif
    81 
    82 if HAS_POSIX
     71
    8372if TEST_psxtmclocknanosleep02
    8473psxtm_tests += psxtmclocknanosleep02
     
    9281        -DOPERATION_COUNT=$(OPERATION_COUNT)
    9382endif
    94 endif
    95 
    96 if HAS_POSIX
     83
    9784if TEST_psxtmclocknanosleep03
    9885psxtm_tests += psxtmclocknanosleep03
     
    10693        -DOPERATION_COUNT=$(OPERATION_COUNT)
    10794endif
    108 endif
    109 
    110 if HAS_POSIX
     95
    11196if TEST_psxtmcond01
    11297psxtm_tests += psxtmcond01
     
    119104        -DOPERATION_COUNT=$(OPERATION_COUNT)
    120105endif
    121 endif
    122 
    123 if HAS_POSIX
     106
    124107if TEST_psxtmcond02
    125108psxtm_tests += psxtmcond02
     
    132115        -DOPERATION_COUNT=$(OPERATION_COUNT)
    133116endif
    134 endif
    135 
    136 if HAS_POSIX
     117
    137118if TEST_psxtmcond03
    138119psxtm_tests += psxtmcond03
     
    145126        -DOPERATION_COUNT=$(OPERATION_COUNT)
    146127endif
    147 endif
    148 
    149 if HAS_POSIX
     128
    150129if TEST_psxtmcond04
    151130psxtm_tests += psxtmcond04
     
    158137        -DOPERATION_COUNT=$(OPERATION_COUNT)
    159138endif
    160 endif
    161 
    162 if HAS_POSIX
     139
    163140if TEST_psxtmcond05
    164141psxtm_tests += psxtmcond05
     
    171148        -DOPERATION_COUNT=$(OPERATION_COUNT)
    172149endif
    173 endif
    174 
    175 if HAS_POSIX
     150
    176151if TEST_psxtmcond06
    177152psxtm_tests += psxtmcond06
     
    184159        -DOPERATION_COUNT=$(OPERATION_COUNT)
    185160endif
    186 endif
    187 
    188 if HAS_POSIX
     161
    189162if TEST_psxtmcond07
    190163psxtm_tests += psxtmcond07
     
    197170        -DOPERATION_COUNT=$(OPERATION_COUNT)
    198171endif
    199 endif
    200 
    201 if HAS_POSIX
     172
    202173if TEST_psxtmcond08
    203174psxtm_tests += psxtmcond08
     
    210181        -DOPERATION_COUNT=$(OPERATION_COUNT) -DUSE_WAIT
    211182endif
    212 endif
    213 
    214 if HAS_POSIX
     183
    215184if TEST_psxtmcond09
    216185psxtm_tests += psxtmcond09
     
    223192        -DOPERATION_COUNT=$(OPERATION_COUNT) -DUSE_TIMEDWAIT_WITH_VALUE
    224193endif
    225 endif
    226 
    227 if HAS_POSIX
     194
    228195if TEST_psxtmcond10
    229196psxtm_tests += psxtmcond10
     
    237204        -DUSE_TIMEDWAIT_WAIT_VALUE_IN_PAST
    238205endif
    239 endif
    240 
    241 if HAS_POSIX
     206
    242207if TEST_psxtmkey01
    243208psxtm_tests += psxtmkey01
     
    250215        -DOPERATION_COUNT=$(OPERATION_COUNT)
    251216endif
    252 endif
    253 
    254 if HAS_POSIX
     217
    255218if TEST_psxtmkey02
    256219psxtm_tests += psxtmkey02
     
    263226        -DOPERATION_COUNT=$(OPERATION_COUNT)
    264227endif
    265 endif
    266 
    267 if HAS_POSIX
     228
    268229if TEST_psxtmmq01
    269230psxtm_tests += psxtmmq01
     
    276237        -DOPERATION_COUNT=$(OPERATION_COUNT)
    277238endif
    278 endif
    279 
    280 if HAS_POSIX
     239
    281240if TEST_psxtmmutex01
    282241psxtm_tests += psxtmmutex01
     
    289248        -DOPERATION_COUNT=$(OPERATION_COUNT)
    290249endif
    291 endif
    292 
    293 if HAS_POSIX
     250
    294251if TEST_psxtmmutex02
    295252psxtm_tests += psxtmmutex02
     
    302259        -DOPERATION_COUNT=$(OPERATION_COUNT)
    303260endif
    304 endif
    305 
    306 if HAS_POSIX
     261
    307262if TEST_psxtmmutex03
    308263psxtm_tests += psxtmmutex03
     
    315270        -DOPERATION_COUNT=$(OPERATION_COUNT)
    316271endif
    317 endif
    318 
    319 if HAS_POSIX
     272
    320273if TEST_psxtmmutex04
    321274psxtm_tests += psxtmmutex04
     
    328281        -DOPERATION_COUNT=$(OPERATION_COUNT)
    329282endif
    330 endif
    331 
    332 if HAS_POSIX
     283
    333284if TEST_psxtmmutex05
    334285psxtm_tests += psxtmmutex05
     
    341292        -DOPERATION_COUNT=$(OPERATION_COUNT)
    342293endif
    343 endif
    344 
    345 if HAS_POSIX
     294
    346295if TEST_psxtmmutex06
    347296psxtm_tests += psxtmmutex06
     
    354303        -DOPERATION_COUNT=$(OPERATION_COUNT)
    355304endif
    356 endif
    357 
    358 if HAS_POSIX
     305
    359306if TEST_psxtmmutex07
    360307psxtm_tests += psxtmmutex07
     
    367314        -DOPERATION_COUNT=$(OPERATION_COUNT)
    368315endif
    369 endif
    370 
    371 if HAS_POSIX
     316
    372317if TEST_psxtmnanosleep01
    373318psxtm_tests += psxtmnanosleep01
     
    381326        -DOPERATION_COUNT=$(OPERATION_COUNT)
    382327endif
    383 endif
    384 
    385 if HAS_POSIX
     328
    386329if TEST_psxtmnanosleep02
    387330psxtm_tests += psxtmnanosleep02
     
    395338        -DOPERATION_COUNT=$(OPERATION_COUNT)
    396339endif
    397 endif
    398 
    399 if HAS_POSIX
     340
    400341if TEST_psxtmrwlock01
    401342psxtm_tests += psxtmrwlock01
     
    408349        -DOPERATION_COUNT=$(OPERATION_COUNT)
    409350endif
    410 endif
    411 
    412 if HAS_POSIX
     351
    413352if TEST_psxtmrwlock02
    414353psxtm_tests += psxtmrwlock02
     
    421360        -DOPERATION_COUNT=$(OPERATION_COUNT)
    422361endif
    423 endif
    424 
    425 if HAS_POSIX
     362
    426363if TEST_psxtmrwlock03
    427364psxtm_tests += psxtmrwlock03
     
    434371        -DOPERATION_COUNT=$(OPERATION_COUNT)
    435372endif
    436 endif
    437 
    438 if HAS_POSIX
     373
    439374if TEST_psxtmrwlock04
    440375psxtm_tests += psxtmrwlock04
     
    447382        -DOPERATION_COUNT=$(OPERATION_COUNT)
    448383endif
    449 endif
    450 
    451 if HAS_POSIX
     384
    452385if TEST_psxtmrwlock05
    453386psxtm_tests += psxtmrwlock05
     
    460393        -DOPERATION_COUNT=$(OPERATION_COUNT)
    461394endif
    462 endif
    463 
    464 if HAS_POSIX
     395
    465396if TEST_psxtmrwlock06
    466397psxtm_tests += psxtmrwlock06
     
    473404        -DOPERATION_COUNT=$(OPERATION_COUNT)
    474405endif
    475 endif
    476 
    477 if HAS_POSIX
     406
    478407if TEST_psxtmrwlock07
    479408psxtm_tests += psxtmrwlock07
     
    486415        -DOPERATION_COUNT=$(OPERATION_COUNT)
    487416endif
    488 endif
    489 
    490 if HAS_POSIX
     417
    491418if TEST_psxtmsem01
    492419psxtm_tests += psxtmsem01
     
    499426        -DOPERATION_COUNT=$(OPERATION_COUNT)
    500427endif
    501 endif
    502 
    503 if HAS_POSIX
     428
    504429if TEST_psxtmsem02
    505430psxtm_tests += psxtmsem02
     
    512437        -DOPERATION_COUNT=$(OPERATION_COUNT)
    513438endif
    514 endif
    515 
    516 if HAS_POSIX
     439
    517440if TEST_psxtmsem03
    518441psxtm_tests += psxtmsem03
     
    525448        -DOPERATION_COUNT=$(OPERATION_COUNT)
    526449endif
    527 endif
    528 
    529 if HAS_POSIX
     450
    530451if TEST_psxtmsem04
    531452psxtm_tests += psxtmsem04
     
    538459        -DOPERATION_COUNT=$(OPERATION_COUNT)
    539460endif
    540 endif
    541 
    542 if HAS_POSIX
     461
    543462if TEST_psxtmsem05
    544463psxtm_tests += psxtmsem05
     
    551470        -DOPERATION_COUNT=$(OPERATION_COUNT)
    552471endif
    553 endif
    554 
    555 if HAS_POSIX
     472
    556473if TEST_psxtmsleep01
    557474psxtm_tests += psxtmsleep01
     
    564481        -DOPERATION_COUNT=$(OPERATION_COUNT)
    565482endif
    566 endif
    567 
    568 if HAS_POSIX
     483
    569484if TEST_psxtmsleep02
    570485psxtm_tests += psxtmsleep02
     
    577492        -DOPERATION_COUNT=$(OPERATION_COUNT)
    578493endif
    579 endif
    580 
    581 if HAS_POSIX
     494
    582495if TEST_psxtmthread01
    583496psxtm_tests += psxtmthread01
     
    590503        -DOPERATION_COUNT=$(OPERATION_COUNT)
    591504endif
    592 endif
    593 
    594 if HAS_POSIX
     505
    595506if TEST_psxtmthread02
    596507psxtm_tests += psxtmthread02
     
    603514        -DOPERATION_COUNT=$(OPERATION_COUNT)
    604515endif
    605 endif
    606 
    607 if HAS_POSIX
     516
    608517if TEST_psxtmthread03
    609518psxtm_tests += psxtmthread03
     
    616525        -DOPERATION_COUNT=$(OPERATION_COUNT)
    617526endif
    618 endif
    619 
    620 if HAS_POSIX
     527
    621528if TEST_psxtmthread04
    622529psxtm_tests += psxtmthread04
     
    629536        -DOPERATION_COUNT=$(OPERATION_COUNT)
    630537endif
    631 endif
    632 
    633 if HAS_POSIX
     538
    634539if TEST_psxtmthread05
    635540psxtm_tests += psxtmthread05
     
    642547        -DOPERATION_COUNT=$(OPERATION_COUNT)
    643548endif
    644 endif
    645 
    646 if HAS_POSIX
     549
    647550if TEST_psxtmthread06
    648551psxtm_tests += psxtmthread06
     
    655558        -DOPERATION_COUNT=$(OPERATION_COUNT)
    656559endif
    657 endif
    658560
    659561rtems_tests_PROGRAMS = $(psxtm_tests)
  • testsuites/psxtmtests/psxtmmq01/init.c

    r54f35888 ref16a11  
    141141static void benchmark_mq_notify(void)
    142142{
     143#if defined(RTEMS_POSIX_API)
    143144  benchmark_timer_t end_time;
    144145  int             status;
     
    160161    0
    161162  );
     163#endif
    162164}
    163165
Note: See TracChangeset for help on using the changeset viewer.