Extending the test framework #611

This commit is contained in:
proddy
2020-11-16 14:13:35 +01:00
parent 1307a2e97b
commit 052ee91be5
4 changed files with 25 additions and 17 deletions

View File

@@ -476,9 +476,9 @@ void Console::load_standard_commands(unsigned int context) {
flash_string_vector{F_(name_optional)},
[](Shell & shell, const std::vector<std::string> & arguments) {
if (arguments.size() == 0) {
Test::run_test_shell(shell, "default");
Test::run_test(shell, "default");
} else {
Test::run_test_shell(shell, arguments.front());
Test::run_test(shell, arguments.front());
}
});
#endif