Import LinuxCNC source tree
This commit is contained in:
1
tests/module-loading/.gitignore
vendored
Normal file
1
tests/module-loading/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
hal-output
|
||||
1
tests/module-loading/encoder/1-names/NUM_PINS
Normal file
1
tests/module-loading/encoder/1-names/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
tests/module-loading/encoder/1-names/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder/1-names/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.names
|
||||
1
tests/module-loading/encoder/1-names/RESULT
Normal file
1
tests/module-loading/encoder/1-names/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
0
tests/module-loading/encoder/1-names/expected
Normal file
0
tests/module-loading/encoder/1-names/expected
Normal file
4
tests/module-loading/encoder/1-names/setup.hal
Normal file
4
tests/module-loading/encoder/1-names/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder names=enc0
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder/1-names/test.sh
Symbolic link
1
tests/module-loading/encoder/1-names/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/encoder/8-names/NUM_PINS
Normal file
1
tests/module-loading/encoder/8-names/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
8
|
||||
1
tests/module-loading/encoder/8-names/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder/8-names/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.names
|
||||
1
tests/module-loading/encoder/8-names/RESULT
Normal file
1
tests/module-loading/encoder/8-names/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
0
tests/module-loading/encoder/8-names/expected
Normal file
0
tests/module-loading/encoder/8-names/expected
Normal file
4
tests/module-loading/encoder/8-names/setup.hal
Normal file
4
tests/module-loading/encoder/8-names/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder names=enc0,enc1,enc2,enc3,enc4,enc5,enc6,enc7
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder/8-names/test.sh
Symbolic link
1
tests/module-loading/encoder/8-names/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/encoder/9-names/NUM_PINS
Normal file
1
tests/module-loading/encoder/9-names/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
tests/module-loading/encoder/9-names/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder/9-names/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.names
|
||||
1
tests/module-loading/encoder/9-names/RESULT
Normal file
1
tests/module-loading/encoder/9-names/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
0
tests/module-loading/encoder/9-names/expected
Normal file
0
tests/module-loading/encoder/9-names/expected
Normal file
4
tests/module-loading/encoder/9-names/setup.hal
Normal file
4
tests/module-loading/encoder/9-names/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder names=enc0,enc1,enc2,enc3,enc4,enc5,enc6,enc7,enc8
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder/9-names/test.sh
Symbolic link
1
tests/module-loading/encoder/9-names/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/encoder/PIN_NAME_REGEX.names
Normal file
1
tests/module-loading/encoder/PIN_NAME_REGEX.names
Normal file
@@ -0,0 +1 @@
|
||||
enc[0-9]\.position$
|
||||
1
tests/module-loading/encoder/PIN_NAME_REGEX.num_chan
Normal file
1
tests/module-loading/encoder/PIN_NAME_REGEX.num_chan
Normal file
@@ -0,0 +1 @@
|
||||
encoder\.[0-9]\.position$
|
||||
1
tests/module-loading/encoder/num_chan=0/NUM_PINS
Normal file
1
tests/module-loading/encoder/num_chan=0/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
3
|
||||
1
tests/module-loading/encoder/num_chan=0/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder/num_chan=0/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.num_chan
|
||||
1
tests/module-loading/encoder/num_chan=0/RESULT
Normal file
1
tests/module-loading/encoder/num_chan=0/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
0
tests/module-loading/encoder/num_chan=0/expected
Normal file
0
tests/module-loading/encoder/num_chan=0/expected
Normal file
4
tests/module-loading/encoder/num_chan=0/setup.hal
Normal file
4
tests/module-loading/encoder/num_chan=0/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder num_chan=0
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder/num_chan=0/test.sh
Symbolic link
1
tests/module-loading/encoder/num_chan=0/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/encoder/num_chan=1/NUM_PINS
Normal file
1
tests/module-loading/encoder/num_chan=1/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
tests/module-loading/encoder/num_chan=1/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder/num_chan=1/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.num_chan
|
||||
1
tests/module-loading/encoder/num_chan=1/RESULT
Normal file
1
tests/module-loading/encoder/num_chan=1/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
0
tests/module-loading/encoder/num_chan=1/expected
Normal file
0
tests/module-loading/encoder/num_chan=1/expected
Normal file
4
tests/module-loading/encoder/num_chan=1/setup.hal
Normal file
4
tests/module-loading/encoder/num_chan=1/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder num_chan=1
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder/num_chan=1/test.sh
Symbolic link
1
tests/module-loading/encoder/num_chan=1/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/encoder/num_chan=8/NUM_PINS
Normal file
1
tests/module-loading/encoder/num_chan=8/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
8
|
||||
1
tests/module-loading/encoder/num_chan=8/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder/num_chan=8/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.num_chan
|
||||
1
tests/module-loading/encoder/num_chan=8/RESULT
Normal file
1
tests/module-loading/encoder/num_chan=8/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
0
tests/module-loading/encoder/num_chan=8/expected
Normal file
0
tests/module-loading/encoder/num_chan=8/expected
Normal file
4
tests/module-loading/encoder/num_chan=8/setup.hal
Normal file
4
tests/module-loading/encoder/num_chan=8/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder num_chan=8
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder/num_chan=8/test.sh
Symbolic link
1
tests/module-loading/encoder/num_chan=8/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/encoder/num_chan=9/NUM_PINS
Normal file
1
tests/module-loading/encoder/num_chan=9/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
tests/module-loading/encoder/num_chan=9/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder/num_chan=9/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.num_chan
|
||||
1
tests/module-loading/encoder/num_chan=9/RESULT
Normal file
1
tests/module-loading/encoder/num_chan=9/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
0
tests/module-loading/encoder/num_chan=9/expected
Normal file
0
tests/module-loading/encoder/num_chan=9/expected
Normal file
4
tests/module-loading/encoder/num_chan=9/setup.hal
Normal file
4
tests/module-loading/encoder/num_chan=9/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder num_chan=9
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder/num_chan=9/test.sh
Symbolic link
1
tests/module-loading/encoder/num_chan=9/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/encoder_ratio/1-names/NUM_PINS
Normal file
1
tests/module-loading/encoder_ratio/1-names/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
tests/module-loading/encoder_ratio/1-names/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder_ratio/1-names/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.names
|
||||
1
tests/module-loading/encoder_ratio/1-names/RESULT
Normal file
1
tests/module-loading/encoder_ratio/1-names/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
0
tests/module-loading/encoder_ratio/1-names/expected
Normal file
0
tests/module-loading/encoder_ratio/1-names/expected
Normal file
4
tests/module-loading/encoder_ratio/1-names/setup.hal
Normal file
4
tests/module-loading/encoder_ratio/1-names/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder_ratio names=er0
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder_ratio/1-names/test.sh
Symbolic link
1
tests/module-loading/encoder_ratio/1-names/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/encoder_ratio/8-names/NUM_PINS
Normal file
1
tests/module-loading/encoder_ratio/8-names/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
8
|
||||
1
tests/module-loading/encoder_ratio/8-names/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder_ratio/8-names/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.names
|
||||
1
tests/module-loading/encoder_ratio/8-names/RESULT
Normal file
1
tests/module-loading/encoder_ratio/8-names/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
0
tests/module-loading/encoder_ratio/8-names/expected
Normal file
0
tests/module-loading/encoder_ratio/8-names/expected
Normal file
4
tests/module-loading/encoder_ratio/8-names/setup.hal
Normal file
4
tests/module-loading/encoder_ratio/8-names/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder_ratio names=er0,er1,er2,er3,er4,er5,er6,er7
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder_ratio/8-names/test.sh
Symbolic link
1
tests/module-loading/encoder_ratio/8-names/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/encoder_ratio/9-names/NUM_PINS
Normal file
1
tests/module-loading/encoder_ratio/9-names/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
tests/module-loading/encoder_ratio/9-names/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder_ratio/9-names/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.names
|
||||
1
tests/module-loading/encoder_ratio/9-names/RESULT
Normal file
1
tests/module-loading/encoder_ratio/9-names/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
0
tests/module-loading/encoder_ratio/9-names/expected
Normal file
0
tests/module-loading/encoder_ratio/9-names/expected
Normal file
4
tests/module-loading/encoder_ratio/9-names/setup.hal
Normal file
4
tests/module-loading/encoder_ratio/9-names/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder_ratio names=er0,er1,er2,er3,er4,er5,er6,er7,er8
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder_ratio/9-names/test.sh
Symbolic link
1
tests/module-loading/encoder_ratio/9-names/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/encoder_ratio/PIN_NAME_REGEX.names
Normal file
1
tests/module-loading/encoder_ratio/PIN_NAME_REGEX.names
Normal file
@@ -0,0 +1 @@
|
||||
er[0-9]\.enable$
|
||||
@@ -0,0 +1 @@
|
||||
encoder-ratio\.[0-9]\.enable$
|
||||
1
tests/module-loading/encoder_ratio/num_chan=0/NUM_PINS
Normal file
1
tests/module-loading/encoder_ratio/num_chan=0/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
tests/module-loading/encoder_ratio/num_chan=0/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder_ratio/num_chan=0/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.num_chan
|
||||
1
tests/module-loading/encoder_ratio/num_chan=0/RESULT
Normal file
1
tests/module-loading/encoder_ratio/num_chan=0/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
4
tests/module-loading/encoder_ratio/num_chan=0/setup.hal
Normal file
4
tests/module-loading/encoder_ratio/num_chan=0/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder_ratio num_chan=0
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder_ratio/num_chan=0/test.sh
Symbolic link
1
tests/module-loading/encoder_ratio/num_chan=0/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/encoder_ratio/num_chan=1/NUM_PINS
Normal file
1
tests/module-loading/encoder_ratio/num_chan=1/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
tests/module-loading/encoder_ratio/num_chan=1/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder_ratio/num_chan=1/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.num_chan
|
||||
1
tests/module-loading/encoder_ratio/num_chan=1/RESULT
Normal file
1
tests/module-loading/encoder_ratio/num_chan=1/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
4
tests/module-loading/encoder_ratio/num_chan=1/setup.hal
Normal file
4
tests/module-loading/encoder_ratio/num_chan=1/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder_ratio num_chan=1
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder_ratio/num_chan=1/test.sh
Symbolic link
1
tests/module-loading/encoder_ratio/num_chan=1/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/encoder_ratio/num_chan=8/NUM_PINS
Normal file
1
tests/module-loading/encoder_ratio/num_chan=8/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
8
|
||||
1
tests/module-loading/encoder_ratio/num_chan=8/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder_ratio/num_chan=8/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.num_chan
|
||||
1
tests/module-loading/encoder_ratio/num_chan=8/RESULT
Normal file
1
tests/module-loading/encoder_ratio/num_chan=8/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
4
tests/module-loading/encoder_ratio/num_chan=8/setup.hal
Normal file
4
tests/module-loading/encoder_ratio/num_chan=8/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder_ratio num_chan=8
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder_ratio/num_chan=8/test.sh
Symbolic link
1
tests/module-loading/encoder_ratio/num_chan=8/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/encoder_ratio/num_chan=9/NUM_PINS
Normal file
1
tests/module-loading/encoder_ratio/num_chan=9/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
tests/module-loading/encoder_ratio/num_chan=9/PIN_NAME_REGEX
Symbolic link
1
tests/module-loading/encoder_ratio/num_chan=9/PIN_NAME_REGEX
Symbolic link
@@ -0,0 +1 @@
|
||||
../PIN_NAME_REGEX.num_chan
|
||||
1
tests/module-loading/encoder_ratio/num_chan=9/RESULT
Normal file
1
tests/module-loading/encoder_ratio/num_chan=9/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
4
tests/module-loading/encoder_ratio/num_chan=9/setup.hal
Normal file
4
tests/module-loading/encoder_ratio/num_chan=9/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt encoder_ratio num_chan=9
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/encoder_ratio/num_chan=9/test.sh
Symbolic link
1
tests/module-loading/encoder_ratio/num_chan=9/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/or2/0-names/NUM_PINS
Normal file
1
tests/module-loading/or2/0-names/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
tests/module-loading/or2/0-names/PIN_NAME_REGEX
Normal file
1
tests/module-loading/or2/0-names/PIN_NAME_REGEX
Normal file
@@ -0,0 +1 @@
|
||||
\.out$
|
||||
1
tests/module-loading/or2/0-names/RESULT
Normal file
1
tests/module-loading/or2/0-names/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
0
tests/module-loading/or2/0-names/expected
Normal file
0
tests/module-loading/or2/0-names/expected
Normal file
4
tests/module-loading/or2/0-names/setup.hal
Normal file
4
tests/module-loading/or2/0-names/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt or2 names=
|
||||
show pin
|
||||
|
||||
1
tests/module-loading/or2/0-names/test.sh
Symbolic link
1
tests/module-loading/or2/0-names/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../../shared-test.sh
|
||||
1
tests/module-loading/or2/1-names/NUM_PINS
Normal file
1
tests/module-loading/or2/1-names/NUM_PINS
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
1
tests/module-loading/or2/1-names/PIN_NAME_REGEX
Normal file
1
tests/module-loading/or2/1-names/PIN_NAME_REGEX
Normal file
@@ -0,0 +1 @@
|
||||
or2\.999\.out$
|
||||
1
tests/module-loading/or2/1-names/RESULT
Normal file
1
tests/module-loading/or2/1-names/RESULT
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
0
tests/module-loading/or2/1-names/expected
Normal file
0
tests/module-loading/or2/1-names/expected
Normal file
4
tests/module-loading/or2/1-names/setup.hal
Normal file
4
tests/module-loading/or2/1-names/setup.hal
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
loadrt or2 names=or2.999
|
||||
show pin
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user