Changeset cb01e1e in mainline for kernel/generic/src/console/cmd.c


Ignore:
Timestamp:
2009-04-04T00:26:27Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a85aebd
Parents:
171f9a1
Message:

use global variable and a macro for silencing tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/cmd.c

    r171f9a1 rcb01e1e  
    3232
    3333/**
    34  * @file        cmd.c
    35  * @brief       Kernel console command wrappers.
     34 * @file  cmd.c
     35 * @brief Kernel console command wrappers.
    3636 *
    3737 * This file is meant to contain all wrapper functions for
     
    997997       
    998998        /* Execute the test */
    999         char * ret = test->entry(false);
     999        test_quiet = false;
     1000        char *ret = test->entry();
    10001001       
    10011002        /* Update and read thread accounting */
     
    10491050               
    10501051                /* Execute the test */
    1051                 char * ret = test->entry(true);
     1052                test_quiet = true;
     1053                char * ret = test->entry();
    10521054               
    10531055                /* Update and read thread accounting */
     
    11511153        if (!fnd)
    11521154                printf("Unknown test\n");
    1153 
     1155       
    11541156        return 1;
    11551157}
Note: See TracChangeset for help on using the changeset viewer.