Ignore:
Timestamp:
Jul 3, 2020, 7:19:17 PM (4 years ago)
Author:
coas-nagasima
Message:

ASP3, TINET, mbed を更新

File:
1 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/asp3_dcre/syssvc/tTestService.c

    r321 r429  
    11/*
    2  *  TOPPERS/ASP Kernel
    3  *      Toyohashi Open Platform for Embedded Real-Time Systems/
    4  *      Advanced Standard Profile Kernel
     2 *  TOPPERS Software
     3 *      Toyohashi Open Platform for Embedded Real-Time Systems
    54 *
    6  *  Copyright (C) 2016 by Embedded and Real-Time Systems Laboratory
     5 *  Copyright (C) 2016-2018 by Embedded and Real-Time Systems Laboratory
    76 *              Graduate School of Information Science, Nagoya Univ., JAPAN
    87 *
     
    5251 *  テストプログラムの開始(受け口関数)
    5352 */
    54 void
     53ER
    5554eTestService_start(const char *progname)
    5655{
    5756        syslog_1(LOG_NOTICE, "Test program: %s", progname);
    5857        VAR_check_count = 0U;
    59 }
    60 
    61 /*
    62  *      自己診断関数の設定
    63  */
    64 void
    65 eTestService_setBuiltInTest(Descriptor(sBuiltInTest) desc)
    66 {
    67         cBuiltInTest_set_descriptor(desc);
     58        return(E_OK);
    6859}
    6960
     
    8778 *      チェックポイント(受け口関数)
    8879 */
    89 void
     80ER
    9081eTestService_checkPoint(uint_t count)
    9182{
     
    133124         */
    134125        SIL_UNL_INT();
     126        return(E_OK);
    135127}
    136128
     
    138130 *      完了チェックポイント(受け口関数)
    139131 */
    140 void
     132ER
    141133eTestService_finishPoint(uint_t count)
    142134{
     
    146138        }
    147139        test_finish();
     140        return(E_OK);
    148141}
    149142
     
    151144 *      条件チェックのエラー処理(受け口関数)
    152145 */
    153 void
     146ER
    154147eTestService_assertError(const char *expr, const char *file, int_t line)
    155148{
     
    157150                                                                                                expr, file, line);
    158151        test_finish();
    159 }
    160 
    161 /*
    162  *      エラーコードチェックのエラー処理(受け口関数)
    163  */
    164 void
    165 eTestService_serviceError(ER ercd, const char *file, int_t line)
    166 {
    167         syslog_3(LOG_ERROR, "## Unexpected error %s detected at %s:%u.\007",
    168                                                                                 itron_strerror(ercd), file, line);
    169         test_finish();
     152        return(E_OK);
    170153}
    171154
     
    174157 */
    175158ER
     159eTestService_serviceError(ER ercd, const char *file, int_t line)
     160{
     161        syslog_3(LOG_ERROR, "## Unexpected error %s detected at %s:%u.\007",
     162                                                                                itron_strerror(ercd), file, line);
     163        test_finish();
     164        return(E_OK);
     165}
     166
     167/*
     168 *      割込み優先度マスクの取得(受け口関数)
     169 */
     170ER
    176171eTestService_getInterruptPriorityMask(PRI *p_ipm)
    177172{
Note: See TracChangeset for help on using the changeset viewer.