Skip to content

Commit

Permalink
utest: 先将示例中的应用改为手动初始化
Browse files Browse the repository at this point in the history
Signed-off-by: 无烬 <[email protected]>
  • Loading branch information
AlexHAHA committed Oct 27, 2024
1 parent a3e8924 commit 07f0b10
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion apps/utest/test_uorb/test_uorb_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ int uorb_test_start() {
return ret;
}

INIT_APP_EXPORT(uorb_test_start);
// INIT_APP_EXPORT(uorb_test_start);
MSH_CMD_EXPORT_ALIAS(uorb_test_start, utest_uorb_1, test uorb main);
2 changes: 1 addition & 1 deletion apps/utest/test_workq/sim_imu_sensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ int sim_imu_start() {
return ret;
}

INIT_APP_EXPORT(sim_imu_start);
// INIT_APP_EXPORT(sim_imu_start);
3 changes: 2 additions & 1 deletion apps/utest/test_workq/sim_rate_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,5 @@ int sim_rate_ctrl_start() {
return ret;
}

INIT_APP_EXPORT(sim_rate_ctrl_start);
// INIT_APP_EXPORT(sim_rate_ctrl_start);
MSH_CMD_EXPORT_ALIAS(sim_rate_ctrl_start, utest_wq_rate, sim rate control);
1 change: 1 addition & 0 deletions apps/utest/test_workq/workq_scheduled.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,4 @@ int workq_scheduled_start() {
}

// INIT_APP_EXPORT(workq_scheduled_start);
MSH_CMD_EXPORT_ALIAS(workq_scheduled_start, utest_wq_1, test workq scheduled);

0 comments on commit 07f0b10

Please sign in to comment.