Skip to content

Commit c9ad2ad

Browse files
Introduce runtest variable TEST_DIR pointing to the current test location.
The tests/motion/g0 test need to locate its ini file for inivar to find.
1 parent 7fe861d commit c9ad2ad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/runtests.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ run_tests () {
141141
fi
142142
fi
143143
NUM=$(($NUM+1))
144+
export TEST_DIR=$(readlink -f $testdir)
144145
echo "Running test: $testdir" 1>&2
145146
if test -n "$SYSTEM_BUILD"; then
146147
# Tell `halcompile` where to install comps

0 commit comments

Comments
 (0)