testing/tcl_commands: test target create, cget, configure

Introduce basic testing of error-handling in target configuration
related commands.

The tests can be run via `make check` when JTAG `dummy` adapter is
enabled.

Change-Id: Id0f382046dd70007d8e696d82d2396a7ccab7a33
Signed-off-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8644
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Evgeniy Naydanov
2024-11-29 17:44:50 +03:00
committed by Antonio Borneo
parent f42540cc90
commit 1b2a2b8185
7 changed files with 191 additions and 2 deletions

4
testing/Makefile.am Normal file
View File

@@ -0,0 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
SUBDIRS = tcl_commands
DIST_SUBDIRS = tcl_commands