diff options
author | Anna Prosvetova <anna@prosvetova.me> | 2021-12-24 21:47:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-24 21:47:48 +0300 |
commit | 46a25c295ced2dc88025dd00f718469566648e75 (patch) | |
tree | e28c24b6fa474ba5bf5f9d45236a2e6b7367356b /applications/tests | |
parent | 7cea359be84cb8bf72879f1264faf9b088b054f9 (diff) |
Decouple apps to allow smaller builds. Loader deadlock fix and refactoring. (#929)
* Lib: always include rfal
* Gui: remove screen_stream
* Input: decouple from Cli
* Loader: decouple from Cli
* Desktop: ignore missing favorite app, decouple from Archive
* Make: make Notification a Gui dependency
* Make: embed debugging information into elfs
* Loader: hide Plugins submenu when plugins ga arimasen
* Applications: update on start hook usage
* Loader: fix dead lock on menu rebuild with open rpc, new cli command.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
Diffstat (limited to 'applications/tests')
-rw-r--r-- | applications/tests/test_index.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/tests/test_index.c b/applications/tests/test_index.c index f5607566..3552d8b1 100644 --- a/applications/tests/test_index.c +++ b/applications/tests/test_index.c @@ -78,10 +78,12 @@ void unit_tests_cli(Cli* cli, string_t args, void* context) { furi_record_close("loader"); } -void unit_tests_cli_init() { +void unit_tests_on_system_start() { +#ifdef SRV_CLI Cli* cli = furi_record_open("cli"); // We need to launch apps from tests, so we cannot lock loader cli_add_command(cli, "unit_tests", CliCommandFlagParallelSafe, unit_tests_cli, NULL); furi_record_close("cli"); +#endif } |