Add selected bad interpreter error fixtures
This commit is contained in:
14
wasm-port/vendor/linuxcnc/tests/interp/bad/nested.ngc
vendored
Normal file
14
wasm-port/vendor/linuxcnc/tests/interp/bad/nested.ngc
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
;Nested subroutine definition
|
||||
|
||||
O1 sub
|
||||
G1 X0
|
||||
|
||||
O2 sub
|
||||
G1 Y0
|
||||
O2 endsub
|
||||
|
||||
O1 endsub
|
||||
|
||||
O1 call
|
||||
M30
|
||||
%
|
||||
2
wasm-port/vendor/linuxcnc/tests/interp/bad/no-feed-rate.ngc
vendored
Normal file
2
wasm-port/vendor/linuxcnc/tests/interp/bad/no-feed-rate.ngc
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
;Cannot do g1 with zero feed rate
|
||||
g1x1
|
||||
2
wasm-port/vendor/linuxcnc/tests/interp/bad/no-ijr.ngc
vendored
Normal file
2
wasm-port/vendor/linuxcnc/tests/interp/bad/no-ijr.ngc
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
;R i j k words all missing for arc
|
||||
g2f1x1
|
||||
2
wasm-port/vendor/linuxcnc/tests/interp/bad/probe-no-axes.ngc
vendored
Normal file
2
wasm-port/vendor/linuxcnc/tests/interp/bad/probe-no-axes.ngc
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
;All axes missing with motion code
|
||||
g38.2 f1
|
||||
Reference in New Issue
Block a user