Changeset 48974d6 in mainline
- Timestamp:
- 2018-03-26T12:46:44Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9ce35f0
- Parents:
- 5a01f7d
- git-author:
- Jiri Svoboda <jiri@…> (2018-03-25 18:45:28)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-03-26 12:46:44)
- Location:
- uspace
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tmon/tests.c
r5a01f7d r48974d6 230 230 } 231 231 232 GEN_PRE_RUN(intr, INTERRUPT) 233 GEN_PRE_RUN(bulk, BULK) 234 GEN_PRE_RUN(isoch, ISOCHRONOUS) 232 GEN_PRE_RUN(intr, INTERRUPT); 233 GEN_PRE_RUN(bulk, BULK); 234 GEN_PRE_RUN(isoch, ISOCHRONOUS); 235 235 236 236 #undef GEN_PRE_RUN -
uspace/lib/c/test/sprintf.c
r5a01f7d r48974d6 54 54 55 55 56 SPRINTF_TEST(no_formatting, "This is a test.", "This is a test.") 56 SPRINTF_TEST(no_formatting, "This is a test.", "This is a test."); 57 57 58 58 59 59 60 SPRINTF_TEST(string_plain, "some text", "%s", "some text") 60 SPRINTF_TEST(string_plain, "some text", "%s", "some text"); 61 61 62 SPRINTF_TEST(string_dynamic_width, " tex", "%*.*s", 5, 3, "text") 62 SPRINTF_TEST(string_dynamic_width, " tex", "%*.*s", 5, 3, "text"); 63 63 64 SPRINTF_TEST(string_dynamic_width_align_left, "text ", "%-*.*s", 7, 7, "text") 64 SPRINTF_TEST(string_dynamic_width_align_left, "text ", "%-*.*s", 7, 7, "text"); 65 65 66 SPRINTF_TEST(string_pad, " text", "%8.10s", "text") 66 SPRINTF_TEST(string_pad, " text", "%8.10s", "text"); 67 67 68 SPRINTF_TEST(string_pad_but_cut, " very lon", "%10.8s", "very long text") 68 SPRINTF_TEST(string_pad_but_cut, " very lon", "%10.8s", "very long text"); 69 69 70 70 71 71 72 SPRINTF_TEST(char_basic, "[a]", "[%c]", 'a') 72 SPRINTF_TEST(char_basic, "[a]", "[%c]", 'a'); 73 73 74 74 … … 76 76 SPRINTF_TEST(int_various_padding, "[1] [ 02] [03 ] [004] [005]", 77 77 "[%d] [%3.2d] [%-3.2d] [%2.3d] [%-2.3d]", 78 1, 2, 3, 4, 5) 78 1, 2, 3, 4, 5); 79 79 80 80 SPRINTF_TEST(int_negative_various_padding, "[-1] [-02] [-03] [-004] [-005]", 81 81 "[%d] [%3.2d] [%-3.2d] [%2.3d] [%-2.3d]", 82 -1, -2, -3, -4, -5) 82 -1, -2, -3, -4, -5); 83 83 84 84 SPRINTF_TEST(long_negative_various_padding, "[-1] [-02] [-03] [-004] [-005]", 85 85 "[%lld] [%3.2lld] [%-3.2lld] [%2.3lld] [%-2.3lld]", 86 86 (long long) -1, (long long) -2, (long long) -3, (long long) -4, 87 (long long) -5) 87 (long long) -5); 88 88 89 89 SPRINTF_TEST(int_as_hex, "[0x11] [0x012] [0x013] [0x00014] [0x00015]", 90 90 "[%#x] [%#5.3x] [%#-5.3x] [%#3.5x] [%#-3.5x]", 91 17, 18, 19, 20, 21) 91 17, 18, 19, 20, 21); 92 92 93 93 -
uspace/lib/pcut/tests/inithook.c
r5a01f7d r48974d6 54 54 PCUT_CUSTOM_MAIN( 55 55 PCUT_MAIN_SET_INIT_HOOK(init_hook) 56 ) 56 ); 57 57 -
uspace/lib/pcut/tests/preinithook.c
r5a01f7d r48974d6 61 61 PCUT_MAIN_SET_INIT_HOOK(init_hook), 62 62 PCUT_MAIN_SET_PREINIT_HOOK(pre_init_hook) 63 ) 63 ); 64 64 -
uspace/lib/pcut/tests/testlist.c
r5a01f7d r48974d6 51 51 PCUT_CUSTOM_MAIN( 52 52 PCUT_MAIN_SET_PREINIT_HOOK(pre_init_hook) 53 ) 53 ); 54 54 -
uspace/lib/pcut/tests/timeout.c
r5a01f7d r48974d6 71 71 } 72 72 73 PCUT_MAIN() 73 PCUT_MAIN(); -
uspace/lib/pcut/tests/xmlreport.c
r5a01f7d r48974d6 52 52 PCUT_CUSTOM_MAIN( 53 53 PCUT_MAIN_SET_XML_REPORT 54 ) 54 );
Note:
See TracChangeset
for help on using the changeset viewer.