Changeset 1433ecda in mainline for uspace/app/tester
- Timestamp:
- 2018-04-04T15:42:37Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- Location:
- uspace/app/tester
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/float/softfloat1.c
r47b2d7e3 r1433ecda 70 70 typedef int32_t cmptype_t; 71 71 72 typedef void (* 73 typedef void (* 74 typedef void (* 75 typedef void (* 76 typedef void (* 77 typedef void (* 78 79 typedef void (* 80 typedef void (* 72 typedef void (*uint_to_double_op_t)(unsigned int, double *, double *); 73 typedef void (*double_to_uint_op_t)(double, unsigned int *, unsigned int *); 74 typedef void (*float_binary_op_t)(float, float, float *, float *); 75 typedef void (*float_cmp_op_t)(float, float, cmptype_t *, cmptype_t *); 76 typedef void (*double_binary_op_t)(double, double, double *, double *); 77 typedef void (*double_cmp_op_t)(double, double, cmptype_t *, cmptype_t *); 78 79 typedef void (*template_unary_t)(void *, unsigned, cmptype_t *, cmptype_t *); 80 typedef void (*template_binary_t)(void *, unsigned, unsigned, cmptype_t *, 81 81 cmptype_t *); 82 82 -
uspace/app/tester/loop/loop1.c
r47b2d7e3 r1433ecda 34 34 { 35 35 TPRINTF("Looping..."); 36 while (true); 36 while (true) 37 ; 37 38 TPRINTF("\n"); 38 39 -
uspace/app/tester/mm/pager1.c
r47b2d7e3 r1433ecda 55 55 (void) vfs_unlink_path(TEST_FILE); 56 56 57 rc = vfs_write(fd, (aoff64_t []) { 0}, text, sizeof(text), &nwr);57 rc = vfs_write(fd, (aoff64_t []) { 0 }, text, sizeof(text), &nwr); 58 58 if (rc != EOK) { 59 59 vfs_put(fd); -
uspace/app/tester/tester.c
r47b2d7e3 r1433ecda 77 77 #include "hw/serial/serial1.def" 78 78 #include "chardev/chardev1.def" 79 { NULL, NULL, NULL, false}79 { NULL, NULL, NULL, false } 80 80 }; 81 81 -
uspace/app/tester/thread/setjmp1.c
r47b2d7e3 r1433ecda 35 35 static int counter; 36 36 37 static void do_the_long_jump(void) { 37 static void do_the_long_jump(void) 38 { 38 39 TPRINTF("Will do a long jump back to test_it().\n"); 39 40 longjmp(jmp_env, 1); 40 41 } 41 42 42 static const char *test_it(void) { 43 static const char *test_it(void) 44 { 43 45 int second_round = setjmp(jmp_env); 44 46 counter++;
Note:
See TracChangeset
for help on using the changeset viewer.