Changeset 3bacee1 in mainline for uspace/lib/pcut/tests/testlist.c
- Timestamp:
- 2018-04-12T16:27:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcut/tests/testlist.c
r76d0981d r3bacee1 38 38 }; 39 39 40 static void pre_init_hook(int *argc, char **argv[]) { 40 static void pre_init_hook(int *argc, char **argv[]) 41 { 41 42 argv_patched[0] = (*argv)[0]; 42 43 *argc = 2; … … 44 45 } 45 46 46 PCUT_TEST(unreachable) { 47 PCUT_TEST(unreachable) 48 { 47 49 PCUT_ASSERT_TRUE(0 && "unreachable code"); 48 50 } 49 51 50 52 51 PCUT_CUSTOM_MAIN( 52 PCUT_MAIN_SET_PREINIT_HOOK(pre_init_hook) 53 ); 53 PCUT_CUSTOM_MAIN(PCUT_MAIN_SET_PREINIT_HOOK(pre_init_hook)); 54 54
Note:
See TracChangeset
for help on using the changeset viewer.