From 135614e128a24c77a4256cd93ef8813bb6815ba0 Mon Sep 17 00:00:00 2001 From: Bertho Stultiens Date: Thu, 30 Jan 2025 23:51:44 +0100 Subject: [PATCH 1/2] Fix testing for the actual generated file name. --- tests/halcompile/serial-out-of-tree/checkresult | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/halcompile/serial-out-of-tree/checkresult b/tests/halcompile/serial-out-of-tree/checkresult index 3165fbb9e05..3070ea7a4a5 100755 --- a/tests/halcompile/serial-out-of-tree/checkresult +++ b/tests/halcompile/serial-out-of-tree/checkresult @@ -1,2 +1,2 @@ #!/bin/sh -[ -e "`dirname "$1"`/mesa_uart.so" -o "`dirname "$1"`/mesa_uart.ko" ] +[ -e "$(dirname "$1")/mesa_uart_test.so" ] || [ -e "$(dirname "$1")/mesa_uart_test.ko" ] From fc9d74f3e431ac18cda2fcfc8e32e0073edd15d2 Mon Sep 17 00:00:00 2001 From: Bertho Stultiens Date: Thu, 30 Jan 2025 23:52:18 +0100 Subject: [PATCH 2/2] Remove invalid exit --- tests/trajectory-planner/circular-arcs/test-optimization.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/trajectory-planner/circular-arcs/test-optimization.sh b/tests/trajectory-planner/circular-arcs/test-optimization.sh index 57fddb45908..6cd948d5df2 100755 --- a/tests/trajectory-planner/circular-arcs/test-optimization.sh +++ b/tests/trajectory-planner/circular-arcs/test-optimization.sh @@ -13,4 +13,3 @@ linuxcnc -r circular_arcs.ini > test.log & ./machine_setup.py "$1" && say_done fg ./save_activate.sh test.log -exit $1