blob: 326f0188b4ef3c8de01cb5a02cd00cc7cd01eb1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# LinuxCNC hardware module test
sh_test()
{
local interpreter="$1"
cd "$rootdir" || die "Failed to change to rootdir '$rootdir'"
modpath="$rootdir/fake/linuxcnc_fake_hal"
PYTHONPATH="$modpath:$PYTHONPATH" \
JYTHONPATH="$modpath:$JYTHONPATH" \
IRONPYTHONPATH="$modpath:$IRONPYTHONPATH" \
"$interpreter" ./awlsim-linuxcnc-hal \
--check-cnc 0 --onecycle "$rootdir/tests/empty.awl" ||\
test_failed "LinuxCNC test failed"
}
|