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

View File

@@ -835,7 +835,9 @@ AS_IF([test "x$gcc_warnings" = "xyes"], [
AC_SUBST(EXTRA_DIST_NEWS, ["$(echo $srcdir/NEWS-*)"])
AC_CONFIG_FILES([
Makefile
Makefile \
testing/Makefile \
testing/tcl_commands/Makefile
])
AC_OUTPUT