Import LinuxCNC source tree

This commit is contained in:
Wang Dequan
2026-08-20 06:17:39 +08:00
commit 2c814634c3
9429 changed files with 10556013 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#!/bin/bash
#
# Demonstrate G71 problem reported in
# https://github.com/LinuxCNC/linuxcnc/issues/707. When Z limit is
# 39.999, everything work, when it is 40, the facing is done without
# iterations.
rs274 -g g72-iterations-missing.ngc | awk '{$1=""; print}' > result &
pid=$!
# Give it 10 seconds to complete
count=10
while [ 0 -lt $count ] && kill -0 $pid > /dev/null 2>&1 ; do
sleep 1
count=$((count - 1))
done
if kill -0 $pid > /dev/null 2>&1; then
kill -9 $pid
echo "E: g71-iterations-missing.ngc program seem to be stuck, killing"
exit 1
fi
exit 0