diff options
author | Sebastian Kuzminsky <seb@highlab.com> | 2012-12-14 22:43:10 -0700 |
---|---|---|
committer | Sebastian Kuzminsky <seb@highlab.com> | 2012-12-14 23:08:27 -0700 |
commit | 94b2fc210b7bbfa89a1b3baf77e1fe79f1a10243 (patch) | |
tree | 0bf46927c46a2ec9d1bb111f389d4f0c80f4561e | |
parent | 94c8a868db6c22083b220a5d83a03f69c4d9812b (diff) | |
download | linuxcnc-94b2fc210b7bbfa89a1b3baf77e1fe79f1a10243.tar.gz linuxcnc-94b2fc210b7bbfa89a1b3baf77e1fe79f1a10243.zip |
remove some redundancy in encoder test
Each test case in this suite used to have its own copy of the pin
name regex, but it's enough to have one for 'names' loads and one for
'num_chan' loads.
l---------[-rw-r--r--] | tests/module-loading/encoder/1-names/PIN_NAME_REGEX | 2 | ||||
l---------[-rw-r--r--] | tests/module-loading/encoder/8-names/PIN_NAME_REGEX | 2 | ||||
l---------[-rw-r--r--] | tests/module-loading/encoder/9-names/PIN_NAME_REGEX | 2 | ||||
-rw-r--r-- | tests/module-loading/encoder/PIN_NAME_REGEX.names | 1 | ||||
-rw-r--r-- | tests/module-loading/encoder/PIN_NAME_REGEX.num_chan | 1 | ||||
l---------[-rw-r--r--] | tests/module-loading/encoder/num_chan=0/PIN_NAME_REGEX | 2 | ||||
l---------[-rw-r--r--] | tests/module-loading/encoder/num_chan=1/PIN_NAME_REGEX | 2 | ||||
l---------[-rw-r--r--] | tests/module-loading/encoder/num_chan=8/PIN_NAME_REGEX | 2 | ||||
l---------[-rw-r--r--] | tests/module-loading/encoder/num_chan=9/PIN_NAME_REGEX | 2 |
9 files changed, 9 insertions, 7 deletions
diff --git a/tests/module-loading/encoder/1-names/PIN_NAME_REGEX b/tests/module-loading/encoder/1-names/PIN_NAME_REGEX index 2e8db0d39..89ddc10d5 100644..120000 --- a/tests/module-loading/encoder/1-names/PIN_NAME_REGEX +++ b/tests/module-loading/encoder/1-names/PIN_NAME_REGEX @@ -1 +1 @@ -enc[0-9]\.position$ +../PIN_NAME_REGEX.names
\ No newline at end of file diff --git a/tests/module-loading/encoder/8-names/PIN_NAME_REGEX b/tests/module-loading/encoder/8-names/PIN_NAME_REGEX index 2e8db0d39..89ddc10d5 100644..120000 --- a/tests/module-loading/encoder/8-names/PIN_NAME_REGEX +++ b/tests/module-loading/encoder/8-names/PIN_NAME_REGEX @@ -1 +1 @@ -enc[0-9]\.position$ +../PIN_NAME_REGEX.names
\ No newline at end of file diff --git a/tests/module-loading/encoder/9-names/PIN_NAME_REGEX b/tests/module-loading/encoder/9-names/PIN_NAME_REGEX index 2e8db0d39..89ddc10d5 100644..120000 --- a/tests/module-loading/encoder/9-names/PIN_NAME_REGEX +++ b/tests/module-loading/encoder/9-names/PIN_NAME_REGEX @@ -1 +1 @@ -enc[0-9]\.position$ +../PIN_NAME_REGEX.names
\ No newline at end of file diff --git a/tests/module-loading/encoder/PIN_NAME_REGEX.names b/tests/module-loading/encoder/PIN_NAME_REGEX.names new file mode 100644 index 000000000..2e8db0d39 --- /dev/null +++ b/tests/module-loading/encoder/PIN_NAME_REGEX.names @@ -0,0 +1 @@ +enc[0-9]\.position$ diff --git a/tests/module-loading/encoder/PIN_NAME_REGEX.num_chan b/tests/module-loading/encoder/PIN_NAME_REGEX.num_chan new file mode 100644 index 000000000..924d37d6a --- /dev/null +++ b/tests/module-loading/encoder/PIN_NAME_REGEX.num_chan @@ -0,0 +1 @@ +encoder\.[0-9]\.position$ diff --git a/tests/module-loading/encoder/num_chan=0/PIN_NAME_REGEX b/tests/module-loading/encoder/num_chan=0/PIN_NAME_REGEX index 924d37d6a..ec3884c56 100644..120000 --- a/tests/module-loading/encoder/num_chan=0/PIN_NAME_REGEX +++ b/tests/module-loading/encoder/num_chan=0/PIN_NAME_REGEX @@ -1 +1 @@ -encoder\.[0-9]\.position$ +../PIN_NAME_REGEX.num_chan
\ No newline at end of file diff --git a/tests/module-loading/encoder/num_chan=1/PIN_NAME_REGEX b/tests/module-loading/encoder/num_chan=1/PIN_NAME_REGEX index 924d37d6a..ec3884c56 100644..120000 --- a/tests/module-loading/encoder/num_chan=1/PIN_NAME_REGEX +++ b/tests/module-loading/encoder/num_chan=1/PIN_NAME_REGEX @@ -1 +1 @@ -encoder\.[0-9]\.position$ +../PIN_NAME_REGEX.num_chan
\ No newline at end of file diff --git a/tests/module-loading/encoder/num_chan=8/PIN_NAME_REGEX b/tests/module-loading/encoder/num_chan=8/PIN_NAME_REGEX index 924d37d6a..ec3884c56 100644..120000 --- a/tests/module-loading/encoder/num_chan=8/PIN_NAME_REGEX +++ b/tests/module-loading/encoder/num_chan=8/PIN_NAME_REGEX @@ -1 +1 @@ -encoder\.[0-9]\.position$ +../PIN_NAME_REGEX.num_chan
\ No newline at end of file diff --git a/tests/module-loading/encoder/num_chan=9/PIN_NAME_REGEX b/tests/module-loading/encoder/num_chan=9/PIN_NAME_REGEX index 924d37d6a..ec3884c56 100644..120000 --- a/tests/module-loading/encoder/num_chan=9/PIN_NAME_REGEX +++ b/tests/module-loading/encoder/num_chan=9/PIN_NAME_REGEX @@ -1 +1 @@ -encoder\.[0-9]\.position$ +../PIN_NAME_REGEX.num_chan
\ No newline at end of file |