Changeset 5302493 in mainline
- Timestamp:
- 2017-12-21T10:36:28Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 06f45cf
- Parents:
- dd36558
- Location:
- uspace/app/tmon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tmon/stress_test.c
rdd36558 r5302493 75 75 int rc = usbdiag_stress_intr_in(exch, params->cycles, params->size); 76 76 if (rc) { 77 printf(NAME ": %s\n", str_error(rc));77 printf(NAME ": Test failed. %s\n", str_error(rc)); 78 78 return 1; 79 79 } … … 91 91 int rc = usbdiag_stress_intr_out(exch, params->cycles, params->size); 92 92 if (rc) { 93 printf(NAME ": %s\n", str_error(rc));93 printf(NAME ": Test failed. %s\n", str_error(rc)); 94 94 return 1; 95 95 } … … 107 107 int rc = usbdiag_stress_bulk_in(exch, params->cycles, params->size); 108 108 if (rc) { 109 printf(NAME ": %s\n", str_error(rc));109 printf(NAME ": Test failed. %s\n", str_error(rc)); 110 110 return 1; 111 111 } … … 123 123 int rc = usbdiag_stress_bulk_out(exch, params->cycles, params->size); 124 124 if (rc) { 125 printf(NAME ": %s\n", str_error(rc));125 printf(NAME ": Test failed. %s\n", str_error(rc)); 126 126 return 1; 127 127 } -
uspace/app/tmon/test.c
rdd36558 r5302493 70 70 tmon_test_params_t *params = NULL; 71 71 if ((rc = ops->read_params(argc, argv, ¶ms))) { 72 printf(NAME ": Reading test parameters failed. \n");72 printf(NAME ": Reading test parameters failed. %s\n", str_error(rc)); 73 73 return 1; 74 74 }
Note:
See TracChangeset
for help on using the changeset viewer.