Skip to content

Commit 97689fd

Browse files
authored
refactor(axbuild): use remote board test. (#86)
* feat: add remote board management commands and logging improvements - Introduced new `board` module with commands for listing and connecting to remote boards. - Added `env_logger` dependency for improved logging functionality. - Updated `Cargo.toml` files to include new dependencies and version updates. - Refactored logging initialization to use `env_logger` instead of custom file logging. - Implemented command parsing tests for new board commands. * feat: add support for remote board management and testing configurations * refactor: update test configurations for axvisor and modify fail regex in Orange Pi 5 Plus settings * fix: update success regex patterns in QEMU configuration files for better matching * fix: add mutex lock to scope tests for thread safety * feat: implement Axvisor CLI commands and argument structures * fix: correct board type name and update CLI argument imports * fix: format code for better readability and update regex pattern for success matching * fix: clean up fail_regex entries and standardize shell commands in board configuration files
1 parent 060032c commit 97689fd

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
board_type = "OrangePi-5-Plus"
2+
fail_regex = []
3+
shell_init_cmd = "pwd && echo 'test pass'"
4+
shell_prefix = "orangepi@orangepi5plus:~"
5+
success_regex = [
6+
"(?m)^test pass\\s*$",
7+
]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
board_type = "Phytiumpi"
2+
fail_regex = [
3+
"(?i)\\bpanic(?:ked)?\\b",
4+
"(?i)kernel panic",
5+
"(?i)login incorrect",
6+
"(?i)permission denied",
7+
]
8+
shell_init_cmd = "root"
9+
shell_prefix = "login:"
10+
success_regex = [
11+
"(?m)^root@.*#\\s*$",
12+
]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
board_type = "ROC-RK3568-PC"
2+
fail_regex = []
3+
shell_init_cmd = "pwd && echo 'test pass'"
4+
shell_prefix = "root@firefly:~#"
5+
success_regex = [
6+
"(?m)^test pass\\s*$",
7+
]

0 commit comments

Comments
 (0)