Changeset a35b458 in mainline for kernel/test/test.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/test.c
r3061bc1 ra35b458 75 75 size_t len = str_length(input); 76 76 test_t **test = (test_t **) ctx; 77 77 78 78 if (*test == NULL) 79 79 *test = tests; 80 80 81 81 for (; (*test)->name; (*test)++) { 82 82 const char *curname = (*test)->name; 83 83 84 84 if (str_length(curname) < len) 85 85 continue; 86 86 87 87 if (str_lcmp(input, curname, len) == 0) { 88 88 (*test)++; … … 92 92 } 93 93 } 94 94 95 95 return NULL; 96 96 }
Note:
See TracChangeset
for help on using the changeset viewer.