diff options
author | Chris Johns <chrisj@rtems.org> | 2017-10-24 21:35:21 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-10-24 22:21:35 +1100 |
commit | bf58911519afb7ce2117dedadf3d76da436b2361 (patch) | |
tree | aac7608d8153bc72e60164bd2183b8e625dc8730 /tester/rtems | |
parent | 52513610668b02c2c3991c75946aa3ed2995e206 (diff) |
tester: Refactor to use INI format files for BSP configurations.
- Add support for user condfigurations files with the --user-config.
- Add support for a $HOME/.rtemstesterrc for a user configuration.
Closes #3204.
Diffstat (limited to 'tester/rtems')
99 files changed, 1413 insertions, 2506 deletions
diff --git a/tester/rtems/testing/bsps/arm1136jfs-run.mc b/tester/rtems/testing/bsps/arm1136jfs-run.ini index e3711fa..276ca6f 100644 --- a/tester/rtems/testing/bsps/arm1136jfs-run.mc +++ b/tester/rtems/testing/bsps/arm1136jfs-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The arm1136jfs BSP # -[global] -bsp: none, none, 'arm1136jfs' - [arm1136jfs] -arm1136jfs: none, none, '%{_rtscripts}/run.cfg' -arm1136jfs_arch: none, none, 'arm' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = arm +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/arm1136jfs.ini b/tester/rtems/testing/bsps/arm1136jfs.ini new file mode 100644 index 0000000..cb8c0c2 --- /dev/null +++ b/tester/rtems/testing/bsps/arm1136jfs.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The arm1136jfs BSP +# +[arm1136jfs] +tester = %{_rtscripts}/gdb.cfg +arch = arm +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/arm1136jfs.mc b/tester/rtems/testing/bsps/arm1136jfs.mc deleted file mode 100644 index 9eb0683..0000000 --- a/tester/rtems/testing/bsps/arm1136jfs.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The arm1136jfs BSP -# -[global] -bsp: none, none, 'arm1136jfs' - -[arm1136jfs] -arm1136jfs: none, none, '%{_rtscripts}/gdb.cfg' -arm1136jfs_arch: none, none, 'arm' -gdb_script: none, none, 'arm1136jfs_gdb_script' -arm1136jfs_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/arm1136js-run.mc b/tester/rtems/testing/bsps/arm1136js-run.ini index 774f55f..af889d4 100644 --- a/tester/rtems/testing/bsps/arm1136js-run.mc +++ b/tester/rtems/testing/bsps/arm1136js-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The arm1136js BSP # -[global] -bsp: none, none, 'arm1136js' - [arm1136js] -arm1136js: none, none, '%{_rtscripts}/run.cfg' -arm1136js_arch: none, none, 'arm' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = arm +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/arm1136js.ini b/tester/rtems/testing/bsps/arm1136js.ini new file mode 100644 index 0000000..68d787a --- /dev/null +++ b/tester/rtems/testing/bsps/arm1136js.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The arm1136js BSP +# +[arm1136js] +arm1136js = %{_rtscripts}/gdb.cfg +arch = arm +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/arm1136js.mc b/tester/rtems/testing/bsps/arm1136js.mc deleted file mode 100644 index 4d75a0a..0000000 --- a/tester/rtems/testing/bsps/arm1136js.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The arm1136js BSP -# -[global] -bsp: none, none, 'arm1136js' - -[arm1136js] -arm1136js: none, none, '%{_rtscripts}/gdb.cfg' -arm1136js_arch: none, none, 'arm' -gdb_script: none, none, 'arm1136js_gdb_script' -arm1136js_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/arm7tdmi-run.mc b/tester/rtems/testing/bsps/arm7tdmi-run.ini index a11175f..efb30ab 100644 --- a/tester/rtems/testing/bsps/arm7tdmi-run.mc +++ b/tester/rtems/testing/bsps/arm7tdmi-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The arm7tdmi BSP # -[global] -bsp: none, none, 'arm7tdmi' - [arm7tdmi] -arm7tdmi: none, none, '%{_rtscripts}/run.cfg' -arm7tdmi_arch: none, none, 'arm' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = arm +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/arm7tdmi.ini b/tester/rtems/testing/bsps/arm7tdmi.ini new file mode 100644 index 0000000..2835bee --- /dev/null +++ b/tester/rtems/testing/bsps/arm7tdmi.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The arm7tdmi BSP +# +[arm7tdmi] +tester = %{_rtscripts}/gdb.cfg +arch = arm +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/arm7tdmi.mc b/tester/rtems/testing/bsps/arm7tdmi.mc deleted file mode 100644 index e13971d..0000000 --- a/tester/rtems/testing/bsps/arm7tdmi.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The arm7tdmi BSP -# -[global] -bsp: none, none, 'arm7tdmi' - -[arm7tdmi] -arm7tdmi: none, none, '%{_rtscripts}/gdb.cfg' -arm7tdmi_arch: none, none, 'arm' -gdb_script: none, none, 'arm7tdmi_gdb_script' -arm7tdmi_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/arm920-run.mc b/tester/rtems/testing/bsps/arm920-run.ini index 5358384..a904aae 100644 --- a/tester/rtems/testing/bsps/arm920-run.mc +++ b/tester/rtems/testing/bsps/arm920-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The arm920 BSP # -[global] -bsp: none, none, 'arm920' - [arm920] -arm920: none, none, '%{_rtscripts}/run.cfg' -arm920_arch: none, none, 'arm' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = arm +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/arm920.ini b/tester/rtems/testing/bsps/arm920.ini new file mode 100644 index 0000000..2f2dba3 --- /dev/null +++ b/tester/rtems/testing/bsps/arm920.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The arm920 BSP +# +[arm920] +tester = %{_rtscripts}/gdb.cfg +arch = arm +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/arm920.mc b/tester/rtems/testing/bsps/arm920.mc deleted file mode 100644 index deeb17f..0000000 --- a/tester/rtems/testing/bsps/arm920.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The arm920 BSP -# -[global] -bsp: none, none, 'arm920' - -[arm920] -arm920: none, none, '%{_rtscripts}/gdb.cfg' -arm920_arch: none, none, 'arm' -gdb_script: none, none, 'arm920_gdb_script' -arm920_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/armcortexa9-run.mc b/tester/rtems/testing/bsps/armcortexa9-run.ini index 84829b0..c0964ab 100644 --- a/tester/rtems/testing/bsps/armcortexa9-run.mc +++ b/tester/rtems/testing/bsps/armcortexa9-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The armcortexa9 BSP # -[global] -bsp: none, none, 'armcortexa9' - [armcortexa9] -armcortexa9: none, none, '%{_rtscripts}/run.cfg' -armcortexa9_arch: none, none, 'arm' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = arm +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/armcortexa9.ini b/tester/rtems/testing/bsps/armcortexa9.ini new file mode 100644 index 0000000..6eb2321 --- /dev/null +++ b/tester/rtems/testing/bsps/armcortexa9.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The armcortexa9 BSP +# +[armcortexa9] +tester = %{_rtscripts}/gdb.cfg +arch = arm +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/armcortexa9.mc b/tester/rtems/testing/bsps/armcortexa9.mc deleted file mode 100644 index 4b0c7f8..0000000 --- a/tester/rtems/testing/bsps/armcortexa9.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The armcortexa9 BSP -# -[global] -bsp: none, none, 'armcortexa9' - -[armcortexa9] -armcortexa9: none, none, '%{_rtscripts}/gdb.cfg' -armcortexa9_arch: none, none, 'arm' -gdb_script: none, none, 'armcortexa9_gdb_script' -armcortexa9_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/beagleboardxm.ini b/tester/rtems/testing/bsps/beagleboardxm.ini new file mode 100644 index 0000000..1d5b590 --- /dev/null +++ b/tester/rtems/testing/bsps/beagleboardxm.ini @@ -0,0 +1,41 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2010-2014 Chris Johns (chrisj@rtems.org) +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The BeagleBoard xM board connected via OpenOCD and a JTAG pod. The console +# is connected to a tty device. The BeagleBoard xM BSP contains an OpenOCD +# configuration file called bbxm.cfg you need to start OpenOCD with. +# +[beagleboardxm] +jobs = 1 +tester = %{_rtscripts}/gdb.cfg +arch = arm +gdb_script = bsp_gdb_script +requires = bsp_tty_dev, bsp_gdb_script diff --git a/tester/rtems/testing/bsps/beagleboardxm.mc b/tester/rtems/testing/bsps/beagleboardxm.mc deleted file mode 100644 index 2564db2..0000000 --- a/tester/rtems/testing/bsps/beagleboardxm.mc +++ /dev/null @@ -1,62 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2010-2014 Chris Johns (chrisj@rtems.org) -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The BeagleBoard xM board connected via OpenOCD and a JTAG pod. The console -# is connected to a tty device. The BeagleBoard xM BSP contains an OpenOCD -# configuration file called bbxm.cfg you need to start OpenOCD with. -# -[global] -bsp: none, none, 'beagleboardxm' -jobs: none, none, '1' - -[beagleboardxm] -beagleboardxm: none, none, '%{_rtscripts}/gdb.cfg' -beagleboardxm_arch: none, none, 'arm' -bsp_tty_dev: none, none, '/dev/cuaU3' -gdb_script: none, none, 'beagleboardxm_gdb_script' -beagleboardxm_gdb_script: none, none, '''target remote kaka:3333 - mon beagleboard_xm_mlo /home/chris/development/rtems/bb/uboot/u-boot/MLO - load - b _Terminate_CPU_Fatal_halt - continue''' diff --git a/tester/rtems/testing/bsps/beagleboneblack.ini b/tester/rtems/testing/bsps/beagleboneblack.ini new file mode 100644 index 0000000..5b3932d --- /dev/null +++ b/tester/rtems/testing/bsps/beagleboneblack.ini @@ -0,0 +1,42 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2010-2017 Chris Johns (chrisj@rtems.org) +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The BeagleBone Black board connected via TFTP. The console is connected to a +# telnet tty device. +# +[beagleboneblack] +jobs = 1 +tester = %{_rtscripts}/tftp.cfg +arch = arm +test_restarts = 3 +target_reset_regex = ^No ethernet found.*|BOOTP broadcast 6.*|^ERROR: can.t get kernel image +target_start_regex = ^U-Boot SPL .* +requires = bsp_tty_dev, target_on_command, target_off_command, target_reset_command diff --git a/tester/rtems/testing/bsps/beagleboneblack.mc b/tester/rtems/testing/bsps/beagleboneblack.mc deleted file mode 100644 index 8121438..0000000 --- a/tester/rtems/testing/bsps/beagleboneblack.mc +++ /dev/null @@ -1,61 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2010-2017 Chris Johns (chrisj@rtems.org) -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The BeagleBone Black board connected via TFTP. The console is connected to a -# telnet tty device. -# -[global] -bsp: none, none, 'beagleboneblack' -jobs: none, none, '1' - -[beagleboneblack] -beagleboneblack: none, none, '%{_rtscripts}/tftp.cfg' -beagleboneblack_arch: none, none, 'arm' -test_restarts: none, none, '3' -target_on_command: none, none, 'wemo-reset CSEng3 0 && sleep 3 && wemo-reset CSEng3 -1' -target_off_command: none, none, 'wemo-reset CSEng3 0' -target_reset_command: none, none, 'wemo-reset CSEng3 5' -target_reset_regex: none, none, '^No ethernet found.*|BOOTP broadcast 6.*|^ERROR: can.t get kernel image' -target_start_regex: none, none, '^U-Boot SPL .*' -bsp_tty_dev: none, none, 'tuke:30007' diff --git a/tester/rtems/testing/bsps/bf537Stamp-run.mc b/tester/rtems/testing/bsps/bf537Stamp-run.ini index 34ec769..b9ab03b 100644 --- a/tester/rtems/testing/bsps/bf537Stamp-run.mc +++ b/tester/rtems/testing/bsps/bf537Stamp-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The bf537Stamp BSP # -[global] -bsp: none, none, 'bf537Stamp' - [bf537Stamp] -bf537Stamp: none, none, '%{_rtscripts}/run.cfg' -bf537Stamp_arch: none, none, 'bfin' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '--env operating --model bf537' +tester = %{_rtscripts}/run.cfg +arch = bfin +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = --env operating --model bf537 diff --git a/tester/rtems/testing/bsps/bf537Stamp.ini b/tester/rtems/testing/bsps/bf537Stamp.ini new file mode 100644 index 0000000..ae687a5 --- /dev/null +++ b/tester/rtems/testing/bsps/bf537Stamp.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The bf537Stamp BSP +# +[bf537Stamp] +tester = %{_rtscripts}/gdb.cfg +arch = bfin +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim --env operating --model bf537 + load + run diff --git a/tester/rtems/testing/bsps/bf537Stamp.mc b/tester/rtems/testing/bsps/bf537Stamp.mc deleted file mode 100644 index e7bc10c..0000000 --- a/tester/rtems/testing/bsps/bf537Stamp.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The bf537Stamp BSP -# -[global] -bsp: none, none, 'bf537Stamp' - -[bf537Stamp] -bf537Stamp: none, none, '%{_rtscripts}/gdb.cfg' -bf537Stamp_arch: none, none, 'bfin' -gdb_script: none, none, 'bf537Stamp_gdb_script' -bf537Stamp_gdb_script: none, none, '''target sim --env operating --model bf537 - load - run''' diff --git a/tester/rtems/testing/bsps/erc32-run.mc b/tester/rtems/testing/bsps/erc32-run.ini index 13615c4..83800eb 100644 --- a/tester/rtems/testing/bsps/erc32-run.mc +++ b/tester/rtems/testing/bsps/erc32-run.ini @@ -29,26 +29,9 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The erc32 BSP # -[global] -bsp: none, none, 'erc32' - [erc32] -erc32: none, none, '%{_rtscripts}/run.cfg' -erc32_arch: none, none, 'sparc' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '' +tester = %{_rtscripts}/run.cfg +arch = sparc +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run diff --git a/tester/rtems/testing/bsps/erc32-sis.mc b/tester/rtems/testing/bsps/erc32-sis.ini index b71a604..63047c6 100644 --- a/tester/rtems/testing/bsps/erc32-sis.mc +++ b/tester/rtems/testing/bsps/erc32-sis.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The erc32 BSP # -[global] -bsp: none, none, 'erc32' - [erc32] -erc32: none, none, '%{_rtscripts}/run.cfg' -erc32_arch: none, none, 'sparc' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis' -bsp_run_opts: none, none, '-nouartrx -r -tlim 600 s' +tester = %{_rtscripts}/run.cfg +arch = sparc +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis +bsp_run_opts = -nouartrx -r -tlim 600 s diff --git a/tester/rtems/testing/bsps/erc32.ini b/tester/rtems/testing/bsps/erc32.ini new file mode 100644 index 0000000..021dbd8 --- /dev/null +++ b/tester/rtems/testing/bsps/erc32.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The erc32 BSP +# +[erc32] +tester = %{_rtscripts}/gdb.cfg +arch = sparc +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/erc32.mc b/tester/rtems/testing/bsps/erc32.mc deleted file mode 100644 index 57d772c..0000000 --- a/tester/rtems/testing/bsps/erc32.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The erc32 BSP -# -[global] -bsp: none, none, 'erc32' - -[erc32] -erc32: none, none, '%{_rtscripts}/gdb.cfg' -erc32_arch: none, none, 'sparc' -gdb_script: none, none, 'erc32_gdb_script' -erc32_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/generic_or1k.mc b/tester/rtems/testing/bsps/generic_or1k.ini index c5feffd..f17c66e 100644 --- a/tester/rtems/testing/bsps/generic_or1k.mc +++ b/tester/rtems/testing/bsps/generic_or1k.ini @@ -29,25 +29,9 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The generic_or1k BSP # -[global] -bsp: none, none, 'generic_or1k' - [generic_or1k] -generic_or1k: none, none, '%{_rtscripts}/qemu.cfg' -generic_or1k_arch: none, none, 'or32' -generic_or1k_opts: none, none, '%{qemu_opts_base} %{qemu_opts_no_net} -m 32M' +tester = %{_rtscripts}/qemu.cfg +arch = or32 +bsp_qemu_opts = %{qemu_opts_base} %{qemu_opts_no_net} -m 32M diff --git a/tester/rtems/testing/bsps/h8sxsim-run.mc b/tester/rtems/testing/bsps/h8sxsim-run.ini index 29f338c..8a351d5 100644 --- a/tester/rtems/testing/bsps/h8sxsim-run.mc +++ b/tester/rtems/testing/bsps/h8sxsim-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The h8sxsim BSP # -[global] -bsp: none, none, 'h8sxsim' - [h8sxsim] -h8sxsim: none, none, '%{_rtscripts}/run.cfg' -h8sxsim_arch: none, none, 'h8300' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = h8300 +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/h8sxsim.ini b/tester/rtems/testing/bsps/h8sxsim.ini new file mode 100644 index 0000000..85fe9ce --- /dev/null +++ b/tester/rtems/testing/bsps/h8sxsim.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The h8sxsim BSP +# +[h8sxsim] +tester = %{_rtscripts}/gdb.cfg +arch = h8300 +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/h8sxsim.mc b/tester/rtems/testing/bsps/h8sxsim.mc deleted file mode 100644 index 66e18f6..0000000 --- a/tester/rtems/testing/bsps/h8sxsim.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The h8sxsim BSP -# -[global] -bsp: none, none, 'h8sxsim' - -[h8sxsim] -h8sxsim: none, none, '%{_rtscripts}/gdb.cfg' -h8sxsim_arch: none, none, 'h8300' -gdb_script: none, none, 'h8sxsim_gdb_script' -h8sxsim_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/jmr3904-run.mc b/tester/rtems/testing/bsps/jmr3904-run.ini index 1b9274e..0591697 100644 --- a/tester/rtems/testing/bsps/jmr3904-run.mc +++ b/tester/rtems/testing/bsps/jmr3904-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The JMR3904 BSP # -[global] -bsp: none, none, 'jmr3904' - [jmr3904] -jmr3904: none, none, '%{_rtscripts}/run.cfg' -jmr3904_arch: none, none, 'mipstx39' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '--board=jmr3904' +tester = %{_rtscripts}/run.cfg +arch = mipstx39 +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = --board=jmr3904 diff --git a/tester/rtems/testing/bsps/jmr3904.mc b/tester/rtems/testing/bsps/jmr3904.ini index 55929c1..7588df6 100644 --- a/tester/rtems/testing/bsps/jmr3904.mc +++ b/tester/rtems/testing/bsps/jmr3904.ini @@ -29,28 +29,12 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The JMR3904 BSP # -[global] -bsp: none, none, 'jmr3904' - [jmr3904] -jmr3904: none, none, '%{_rtscripts}/gdb.cfg' -jmr3904_arch: none, none, 'mipstx39' -gdb_script: none, none, 'jmr3904_gdb_script' -jmr3904_gdb_script: none, none, '''target sim --board=jmr3904 - load - run''' +tester = %{_rtscripts}/gdb.cfg +arch = mipstx39 +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim --board=jmr3904 + load + run diff --git a/tester/rtems/testing/bsps/leon2-run.mc b/tester/rtems/testing/bsps/leon2-run.ini index 7edede1..2ff5b20 100644 --- a/tester/rtems/testing/bsps/leon2-run.mc +++ b/tester/rtems/testing/bsps/leon2-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The leon2 BSP # -[global] -bsp: none, none, 'leon2' - [leon2] -leon2: none, none, '%{_rtscripts}/run.cfg' -leon2_arch: none, none, 'sparc' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis' -bsp_run_opts: none, none, '-leon2' +tester = %{_rtscripts}/run.cfg +arch = sparc +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis +bsp_run_opts = -leon2 diff --git a/tester/rtems/testing/bsps/leon2-sis.mc b/tester/rtems/testing/bsps/leon2-sis.ini index 8854fd6..b1c8b1f 100644 --- a/tester/rtems/testing/bsps/leon2-sis.mc +++ b/tester/rtems/testing/bsps/leon2-sis.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The leon2 BSP # -[global] -bsp: none, none, 'leon2' - [leon2] -leon2: none, none, '%{_rtscripts}/run.cfg' -leon2_arch: none, none, 'sparc' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis' -bsp_run_opts: none, none, '-leon2 -nouartrx -r -tlim 200 s' +tester = %{_rtscripts}/run.cfg +arch = sparc +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis +bsp_run_opts = -leon2 -nouartrx -r -tlim 200 s diff --git a/tester/rtems/testing/bsps/leon2.ini b/tester/rtems/testing/bsps/leon2.ini new file mode 100644 index 0000000..a4186ba --- /dev/null +++ b/tester/rtems/testing/bsps/leon2.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The leon2 BSP +# +[leon2] +tester = %{_rtscripts}/gdb.cfg +arch = sparc +gdb_script = leon2_gdb_script +bsp_gdb_script = target sim -leon2 + load + run diff --git a/tester/rtems/testing/bsps/leon2.mc b/tester/rtems/testing/bsps/leon2.mc deleted file mode 100644 index 6b0ec99..0000000 --- a/tester/rtems/testing/bsps/leon2.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The leon2 BSP -# -[global] -bsp: none, none, 'leon2' - -[leon2] -leon2: none, none, '%{_rtscripts}/gdb.cfg' -leon2_arch: none, none, 'sparc' -gdb_script: none, none, 'leon2_gdb_script' -leon2_gdb_script: none, none, '''target sim -leon2 - load - run''' diff --git a/tester/rtems/testing/bsps/leon3-run.mc b/tester/rtems/testing/bsps/leon3-run.ini index 6c25b21..6d844c7 100644 --- a/tester/rtems/testing/bsps/leon3-run.mc +++ b/tester/rtems/testing/bsps/leon3-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The leon3 BSP # -[global] -bsp: none, none, 'leon3' - [leon3] -leon3: none, none, '%{_rtscripts}/run.cfg' -leon3_arch: none, none, 'sparc' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis' -bsp_run_opts: none, none, '-leon3' +tester = %{_rtscripts}/run.cfg +arch = sparc +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis +bsp_run_opts = -leon3 diff --git a/tester/rtems/testing/bsps/leon3-sis.mc b/tester/rtems/testing/bsps/leon3-sis.ini index 1d55044..e31a181 100644 --- a/tester/rtems/testing/bsps/leon3-sis.mc +++ b/tester/rtems/testing/bsps/leon3-sis.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The leon3 BSP # -[global] -bsp: none, none, 'leon3' - [leon3] -leon3: none, none, '%{_rtscripts}/run.cfg' -leon3_arch: none, none, 'sparc' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis' -bsp_run_opts: none, none, '-leon3 -nouartrx -r -tlim 200 s' +tester = %{_rtscripts}/run.cfg +arch = sparc +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis +bsp_run_opts = -leon3 -nouartrx -r -tlim 200 s diff --git a/tester/rtems/testing/bsps/leon3.ini b/tester/rtems/testing/bsps/leon3.ini new file mode 100644 index 0000000..874129b --- /dev/null +++ b/tester/rtems/testing/bsps/leon3.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The leon3 BSP +# +[leon3] +tester = %{_rtscripts}/gdb.cfg +arch = sparc +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim -leon3 + load + run diff --git a/tester/rtems/testing/bsps/leon3.mc b/tester/rtems/testing/bsps/leon3.mc deleted file mode 100644 index b4f7713..0000000 --- a/tester/rtems/testing/bsps/leon3.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The leon3 BSP -# -[global] -bsp: none, none, 'leon3' - -[leon3] -leon3: none, none, '%{_rtscripts}/gdb.cfg' -leon3_arch: none, none, 'sparc' -gdb_script: none, none, 'leon3_gdb_script' -leon3_gdb_script: none, none, '''target sim -leon3 - load - run''' diff --git a/tester/rtems/testing/bsps/leon3_tsim-run.mc b/tester/rtems/testing/bsps/leon3_tsim-run.ini index bad5372..bbff25b 100644 --- a/tester/rtems/testing/bsps/leon3_tsim-run.mc +++ b/tester/rtems/testing/bsps/leon3_tsim-run.ini @@ -29,27 +29,11 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The LEON3 BSP on TSIM # # -[global] -bsp: none, none, 'leon3' - [tsim_leon3] -tsim_leon3: none, none, '%{_rtscripts}/run.cfg' -tsim_leon3_arch: none, none, 'sparc' -bsp_run_cmd: none, none, 'tsim-leon3' -bsp_run_opts: none, none, '-c %{_rtscripts}/bsps/leon3-tsim-cmds' +tester = %{_rtscripts}/run.cfg +arch = sparc +bsp_run_cmd = tsim-leon3 +bsp_run_opts = -c %{_rtscripts}/bsps/leon3-tsim-cmds diff --git a/tester/rtems/testing/bsps/leon3_tsim.ini b/tester/rtems/testing/bsps/leon3_tsim.ini new file mode 100644 index 0000000..8d69f96 --- /dev/null +++ b/tester/rtems/testing/bsps/leon3_tsim.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The LEON3 BSP running on TSIM +# +[leon3_tsim] +tester = %{_rtscripts}/gdb.cfg +arch = sparc +gdb_script = bsp_gdb_script +bsp_gdb_script = target remote :1234 + load + continue diff --git a/tester/rtems/testing/bsps/leon3_tsim.mc b/tester/rtems/testing/bsps/leon3_tsim.mc deleted file mode 100644 index 3e7b039..0000000 --- a/tester/rtems/testing/bsps/leon3_tsim.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The LEON3 BSP running on TSIM -# -[global] -bsp: none, none, 'leon3_tsim' - -[leon3_tsim] -leon3_tsim: none, none, '%{_rtscripts}/gdb.cfg' -leon3_tsim_arch: none, none, 'sparc' -gdb_script: none, none, 'leon3_tsim_gdb_script' -leon3_tsim_gdb_script: none, none, '''target remote :1234 - load - continue''' diff --git a/tester/rtems/testing/bsps/lm32_evr_gdbsim-run.ini b/tester/rtems/testing/bsps/lm32_evr_gdbsim-run.ini new file mode 100644 index 0000000..03b6570 --- /dev/null +++ b/tester/rtems/testing/bsps/lm32_evr_gdbsim-run.ini @@ -0,0 +1,38 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The lm32_evr_gdbsim BSP +# +[lm32_evr_gdbsim] +tester = %{_rtscripts}/run.cfg +arch = lm32 +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = --hw-file %{_rtscripts}/bsps/lm32_evr_gdbsim-device-tree --memory-region 0x08000000,0x4000000 diff --git a/tester/rtems/testing/bsps/lm32_evr_gdbsim-run.mc b/tester/rtems/testing/bsps/lm32_evr_gdbsim-run.mc deleted file mode 100644 index 38853fd..0000000 --- a/tester/rtems/testing/bsps/lm32_evr_gdbsim-run.mc +++ /dev/null @@ -1,54 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The lm32_evr_gdbsim BSP -# -[global] -bsp: none, none, 'lm32_evr_gdbsim' - -[lm32_evr_gdbsim] -lm32_evr_gdbsim: none, none, '%{_rtscripts}/run.cfg' -lm32_evr_gdbsim_arch: none, none, 'lm32' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '--hw-file %{_rtscripts}/bsps/lm32_evr_gdbsim-device-tree --memory-region 0x08000000,0x4000000' diff --git a/tester/rtems/testing/bsps/lm32_evr_gdbsim.ini b/tester/rtems/testing/bsps/lm32_evr_gdbsim.ini new file mode 100644 index 0000000..e8319a2 --- /dev/null +++ b/tester/rtems/testing/bsps/lm32_evr_gdbsim.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The lm32_evr_gdbsim BSP +# +[lm32_evr_gdbsim] +tester = %{_rtscripts}/gdb.cfg +arch = lm32 +gdb_script = bdp_gdb_script +bsp_gdb_script = tar sim --hw-file %{_rtscripts}/bsps/lm32_evr_gdbsim-device-tree --memory-region 0x08000000,0x4000000 + load + run diff --git a/tester/rtems/testing/bsps/lm32_evr_gdbsim.mc b/tester/rtems/testing/bsps/lm32_evr_gdbsim.mc deleted file mode 100644 index 1fd9a81..0000000 --- a/tester/rtems/testing/bsps/lm32_evr_gdbsim.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The lm32_evr_gdbsim BSP -# -[global] -bsp: none, none, 'lm32_evr_gdbsim' - -[lm32_evr_gdbsim] -lm32_evr_gdbsim: none, none, '%{_rtscripts}/gdb.cfg' -lm32_evr_gdbsim_arch: none, none, 'lm32' -gdb_script: none, none, 'lm32_evr_gdbsim_gdb_script' -lm32_evr_gdbsim_gdb_script: none, none, '''tar sim --hw-file %{_rtscripts}/bsps/lm32_evr_gdbsim-device-tree --memory-region 0x08000000,0x4000000 - load - run''' diff --git a/tester/rtems/testing/bsps/m32csim-run.mc b/tester/rtems/testing/bsps/m32csim-run.ini index af77c17..a584660 100644 --- a/tester/rtems/testing/bsps/m32csim-run.mc +++ b/tester/rtems/testing/bsps/m32csim-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The m32csim BSP # -[global] -bsp: none, none, 'm32csim' - [m32csim] -m32csim: none, none, '%{_rtscripts}/run.cfg' -m32csim_arch: none, none, 'm32c' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = m32c +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/m32csim.ini b/tester/rtems/testing/bsps/m32csim.ini new file mode 100644 index 0000000..b472efb --- /dev/null +++ b/tester/rtems/testing/bsps/m32csim.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The m32csim BSP +# +[m32csim] +tester = %{_rtscripts}/gdb.cfg +arch = m32c +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/m32csim.mc b/tester/rtems/testing/bsps/m32csim.mc deleted file mode 100644 index 8f41df1..0000000 --- a/tester/rtems/testing/bsps/m32csim.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The m32csim BSP -# -[global] -bsp: none, none, 'm32csim' - -[m32csim] -m32csim: none, none, '%{_rtscripts}/gdb.cfg' -m32csim_arch: none, none, 'm32c' -gdb_script: none, none, 'm32csim_gdb_script' -m32csim_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/mcf5235.ini b/tester/rtems/testing/bsps/mcf5235.ini new file mode 100644 index 0000000..01ddce6 --- /dev/null +++ b/tester/rtems/testing/bsps/mcf5235.ini @@ -0,0 +1,38 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2010-2014 Chris Johns (chrisj@rtems.org) +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The Coldfire Axiom MCF5235 connected via BDM. +# +[mcf5235] +jobs = 1 +tester = %{_rtscripts}/gdb.cfg +arch = m68k +requires = bsp_tty_dev, gdb_script diff --git a/tester/rtems/testing/bsps/mcf5235.mc b/tester/rtems/testing/bsps/mcf5235.mc deleted file mode 100644 index f95fffb..0000000 --- a/tester/rtems/testing/bsps/mcf5235.mc +++ /dev/null @@ -1,63 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2010-2014 Chris Johns (chrisj@rtems.org) -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The Xilinx Zync ZC706 board connected via OpenOCD and a JTAG pod. The console -# is connected to a tty device. -# -[global] -bsp: none, none, 'mcf5235' -jobs: none, none, '1' - -[mcf5235] -mcf5235: none, none, '%{_rtscripts}/gdb.cfg' -mcf5235_arch: none, none, 'm68k' -bsp_tty_dev: none, none, '/dev/cuaU2' -bsp_tty_settings: none, none, 'B19200,~BRKINT,IGNBRK,IGNCR,~ICANON,~ISIG,~IEXTEN,~ECHO,~CLOCAL,VMIN=1,VTIME=2' -gdb_script: none, none, 'mcf5235_gdb_script' -mcf5235_gdb_script: none, none, '''target remote | m68k-bdm-gdbserver pipe 003-005 - thb *0xffe254c0 - continue - load - b bsp_reset - continue''' diff --git a/tester/rtems/testing/bsps/pc.ini b/tester/rtems/testing/bsps/pc.ini new file mode 100644 index 0000000..1762f16 --- /dev/null +++ b/tester/rtems/testing/bsps/pc.ini @@ -0,0 +1,36 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2010-2017 Chris Johns (chrisj@rtems.org) +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +[pc] +jobs = 1 +tester = %{_rtscripts}/tftp.cfg +arch = i386 +test_restarts = 3 +requires = bsp_tty_dev, target_on_command, target_off_command, target_reset_command diff --git a/tester/rtems/testing/bsps/pc.mc b/tester/rtems/testing/bsps/pc.mc deleted file mode 100644 index aa4a829..0000000 --- a/tester/rtems/testing/bsps/pc.mc +++ /dev/null @@ -1,59 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2010-2017 Chris Johns (chrisj@rtems.org) -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The Xilinx Zynq Zedboard and Microzed board connected via TFTP. The console -# is connected to a telnet tty device. -# -[global] -bsp: none, none, 'pc' -jobs: none, none, '1' - -[pc] -pc: none, none, '%{_rtscripts}/tftp.cfg' -pc_arch: none, none, 'i386' -test_restarts: none, none, '3' -target_on_command: none, none, 'wemo-reset CSEng2 0 && sleep 3 && wemo-reset CSEng2 -1' -target_off_command: none, none, 'wemo-reset CSEng2 0' -target_reset_command: none, none, 'wemo-reset CSEng2 1' -bsp_tty_dev: none, none, 'tuke:30010' diff --git a/tester/rtems/testing/bsps/psim-run.mc b/tester/rtems/testing/bsps/psim-run.ini index d19d541..b9abebe 100644 --- a/tester/rtems/testing/bsps/psim-run.mc +++ b/tester/rtems/testing/bsps/psim-run.ini @@ -29,28 +29,12 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The PSIM BSP # # Warning: This is not working cleanly on MacOS. I am not sure why. The gdb version does work. # -[global] -bsp: none, none, 'psim' - [psim] -psim: none, none, '%{_rtscripts}/run.cfg' -psim_arch: none, none, 'powerpc' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-f %{_rtscripts}/bsps/psim-device-tree' +tester = %{_rtscripts}/run.cfg +arch = powerpc +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -f %{_rtscripts}/bsps/psim-device-tree diff --git a/tester/rtems/testing/bsps/psim.ini b/tester/rtems/testing/bsps/psim.ini new file mode 100644 index 0000000..2eb3d8b --- /dev/null +++ b/tester/rtems/testing/bsps/psim.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2010-2014 Chris Johns (chrisj@rtems.org) +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The PSIM BSP +# +[psim] +tester = %{_rtscripts}/gdb.cfg +arch = powerpc +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim -f %{_rtscripts}/bsps/psim-device-tree + load + run diff --git a/tester/rtems/testing/bsps/psim.mc b/tester/rtems/testing/bsps/psim.mc deleted file mode 100644 index d3de821..0000000 --- a/tester/rtems/testing/bsps/psim.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2010-2014 Chris Johns (chrisj@rtems.org) -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The PSIM BSP -# -[global] -bsp: none, none, 'psim' - -[psim] -psim: none, none, '%{_rtscripts}/gdb.cfg' -psim_arch: none, none, 'powerpc' -gdb_script: none, none, 'psim_gdb_script' -psim_gdb_script: none, none, '''target sim -f %{_rtscripts}/bsps/psim-device-tree - load - run''' diff --git a/tester/rtems/testing/bsps/realview_pbx_a9_qemu.mc b/tester/rtems/testing/bsps/realview_pbx_a9_qemu.ini index acc107c..49d758e 100644 --- a/tester/rtems/testing/bsps/realview_pbx_a9_qemu.mc +++ b/tester/rtems/testing/bsps/realview_pbx_a9_qemu.ini @@ -29,25 +29,9 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The Realview PBX A9 BSP. # -[global] -bsp: none, none, 'realview_pbx_a9_qemu' - [realview_pbx_a9_qemu] -realview_pbx_a9_qemu: none, none, '%{_rtscripts}/qemu.cfg' -realview_pbx_a9_qemu_arch: none, none, 'arm' -realview_pbx_a9_qemu_opts: none, none, '%{qemu_opts_base} %{qemu_opts_no_net} -M realview-pbx-a9 -m 256M' +tester = %{_rtscripts}/qemu.cfg +arch = arm +bsp_qemu_opts = %{qemu_opts_base} %{qemu_opts_no_net} -M realview-pbx-a9 -m 256M diff --git a/tester/rtems/testing/bsps/simsh1-run.mc b/tester/rtems/testing/bsps/simsh1-run.ini index 2defb72..1244cb3 100644 --- a/tester/rtems/testing/bsps/simsh1-run.mc +++ b/tester/rtems/testing/bsps/simsh1-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The simsh1 BSP # -[global] -bsp: none, none, 'simsh1' - [simsh1] -simsh1: none, none, '%{_rtscripts}/run.cfg' -simsh1_arch: none, none, 'sh' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = sh +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/simsh1.ini b/tester/rtems/testing/bsps/simsh1.ini new file mode 100644 index 0000000..66da1bb --- /dev/null +++ b/tester/rtems/testing/bsps/simsh1.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The simsh1 BSP +# +[simsh1] +tester = %{_rtscripts}/gdb.cfg +arch = sh +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/simsh1.mc b/tester/rtems/testing/bsps/simsh1.mc deleted file mode 100644 index 5c6bdaf..0000000 --- a/tester/rtems/testing/bsps/simsh1.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The simsh1 BSP -# -[global] -bsp: none, none, 'simsh1' - -[simsh1] -simsh1: none, none, '%{_rtscripts}/gdb.cfg' -simsh1_arch: none, none, 'sh' -gdb_script: none, none, 'simsh1_gdb_script' -simsh1_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/simsh2-run.mc b/tester/rtems/testing/bsps/simsh2-run.ini index 1b42af9..fa604b9 100644 --- a/tester/rtems/testing/bsps/simsh2-run.mc +++ b/tester/rtems/testing/bsps/simsh2-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The simsh2 BSP # -[global] -bsp: none, none, 'simsh2' - [simsh2] -simsh2: none, none, '%{_rtscripts}/run.cfg' -simsh2_arch: none, none, 'sh' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = sh +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/simsh2.ini b/tester/rtems/testing/bsps/simsh2.ini new file mode 100644 index 0000000..5158e0f --- /dev/null +++ b/tester/rtems/testing/bsps/simsh2.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The simsh2 BSP +# +[simsh2] +tester = %{_rtscripts}/gdb.cfg +arch = sh +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/simsh2.mc b/tester/rtems/testing/bsps/simsh2.mc deleted file mode 100644 index 3ad164d..0000000 --- a/tester/rtems/testing/bsps/simsh2.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The simsh2 BSP -# -[global] -bsp: none, none, 'simsh2' - -[simsh2] -simsh2: none, none, '%{_rtscripts}/gdb.cfg' -simsh2_arch: none, none, 'sh' -gdb_script: none, none, 'simsh2_gdb_script' -simsh2_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/simsh2e-run.mc b/tester/rtems/testing/bsps/simsh2e-run.ini index e04181a..112d95e 100644 --- a/tester/rtems/testing/bsps/simsh2e-run.mc +++ b/tester/rtems/testing/bsps/simsh2e-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The simsh2e BSP # -[global] -bsp: none, none, 'simsh2e' - [simsh2e] -simsh2e: none, none, '%{_rtscripts}/run.cfg' -simsh2e_arch: none, none, 'sh' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = sh +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/simsh2e.ini b/tester/rtems/testing/bsps/simsh2e.ini new file mode 100644 index 0000000..f54515b --- /dev/null +++ b/tester/rtems/testing/bsps/simsh2e.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The simsh2e BSP +# +[simsh2e] +tester = %{_rtscripts}/gdb.cfg +arch = sh +gdb_script = simsh2e_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/simsh2e.mc b/tester/rtems/testing/bsps/simsh2e.mc deleted file mode 100644 index e9e0c8b..0000000 --- a/tester/rtems/testing/bsps/simsh2e.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The simsh2e BSP -# -[global] -bsp: none, none, 'simsh2e' - -[simsh2e] -simsh2e: none, none, '%{_rtscripts}/gdb.cfg' -simsh2e_arch: none, none, 'sh' -gdb_script: none, none, 'simsh2e_gdb_script' -simsh2e_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/simsh4-run.mc b/tester/rtems/testing/bsps/simsh4-run.ini index 832dabd..e175126 100644 --- a/tester/rtems/testing/bsps/simsh4-run.mc +++ b/tester/rtems/testing/bsps/simsh4-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The simsh4 BSP # -[global] -bsp: none, none, 'simsh4' - [simsh4] -simsh4: none, none, '%{_rtscripts}/run.cfg' -simsh4_arch: none, none, 'sh' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = sh +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/simsh4.ini b/tester/rtems/testing/bsps/simsh4.ini new file mode 100644 index 0000000..1e80553 --- /dev/null +++ b/tester/rtems/testing/bsps/simsh4.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The simsh4 BSP +# +[simsh4] +tester = %{_rtscripts}/gdb.cfg +arch = sh +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/simsh4.mc b/tester/rtems/testing/bsps/simsh4.mc deleted file mode 100644 index fdaae81..0000000 --- a/tester/rtems/testing/bsps/simsh4.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The simsh4 BSP -# -[global] -bsp: none, none, 'simsh4' - -[simsh4] -simsh4: none, none, '%{_rtscripts}/gdb.cfg' -simsh4_arch: none, none, 'sh' -gdb_script: none, none, 'simsh4_gdb_script' -simsh4_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/sis-run.mc b/tester/rtems/testing/bsps/sis-run.ini index cbfcd27..0e037a1 100644 --- a/tester/rtems/testing/bsps/sis-run.mc +++ b/tester/rtems/testing/bsps/sis-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The SIS BSP # -[global] -bsp: none, none, 'sis' - [sis] -sis: none, none, '%{_rtscripts}/run.cfg' -sis_arch: none, none, 'sparc' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = sparc +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/sis.ini b/tester/rtems/testing/bsps/sis.ini new file mode 100644 index 0000000..e76b10a --- /dev/null +++ b/tester/rtems/testing/bsps/sis.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2010-2014 Chris Johns (chrisj@rtems.org) +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The SIS BSP +# +[sis] +tester = %{_rtscripts}/gdb.cfg +arch = sparc +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim -a -nouartrx + load + run diff --git a/tester/rtems/testing/bsps/sis.mc b/tester/rtems/testing/bsps/sis.mc deleted file mode 100644 index 27e1558..0000000 --- a/tester/rtems/testing/bsps/sis.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2010-2014 Chris Johns (chrisj@rtems.org) -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The SIS BSP -# -[global] -bsp: none, none, 'sis' - -[sis] -sis: none, none, '%{_rtscripts}/gdb.cfg' -sis_arch: none, none, 'sparc' -gdb_script: none, none, 'sis_gdb_script' -sis_gdb_script: none, none, '''target sim -a -nouartrx - load - run''' diff --git a/tester/rtems/testing/bsps/v850e1sim-run.mc b/tester/rtems/testing/bsps/v850e1sim-run.ini index d5cc92e..97371d5 100644 --- a/tester/rtems/testing/bsps/v850e1sim-run.mc +++ b/tester/rtems/testing/bsps/v850e1sim-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The v850e1sim BSP # -[global] -bsp: none, none, 'v850e1sim' - [v850e1sim] -v850e1sim: none, none, '%{_rtscripts}/run.cfg' -v850e1sim_arch: none, none, 'v850' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = v850 +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/v850e1sim.ini b/tester/rtems/testing/bsps/v850e1sim.ini new file mode 100644 index 0000000..7800834 --- /dev/null +++ b/tester/rtems/testing/bsps/v850e1sim.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The v850e1sim BSP +# +[v850e1sim] +tester = %{_rtscripts}/gdb.cfg +arch = v850 +gdb_script = gdb_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/v850e1sim.mc b/tester/rtems/testing/bsps/v850e1sim.mc deleted file mode 100644 index ee70846..0000000 --- a/tester/rtems/testing/bsps/v850e1sim.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The v850e1sim BSP -# -[global] -bsp: none, none, 'v850e1sim' - -[v850e1sim] -v850e1sim: none, none, '%{_rtscripts}/gdb.cfg' -v850e1sim_arch: none, none, 'v850' -gdb_script: none, none, 'v850e1sim_gdb_script' -v850e1sim_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/v850e2sim-run.mc b/tester/rtems/testing/bsps/v850e2sim-run.ini index 0f97c69..e3fd0d0 100644 --- a/tester/rtems/testing/bsps/v850e2sim-run.mc +++ b/tester/rtems/testing/bsps/v850e2sim-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The v850e2sim BSP # -[global] -bsp: none, none, 'v850e2sim' - [v850e2sim] -v850e2sim: none, none, '%{_rtscripts}/run.cfg' -v850e2sim_arch: none, none, 'v850' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = v850 +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/v850e2sim.ini b/tester/rtems/testing/bsps/v850e2sim.ini new file mode 100644 index 0000000..486c4f1 --- /dev/null +++ b/tester/rtems/testing/bsps/v850e2sim.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The v850e2sim BSP +# +[v850e2sim] +tester = %{_rtscripts}/gdb.cfg +arch = v850 +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/v850e2sim.mc b/tester/rtems/testing/bsps/v850e2sim.mc deleted file mode 100644 index 9191aa5..0000000 --- a/tester/rtems/testing/bsps/v850e2sim.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The v850e2sim BSP -# -[global] -bsp: none, none, 'v850e2sim' - -[v850e2sim] -v850e2sim: none, none, '%{_rtscripts}/gdb.cfg' -v850e2sim_arch: none, none, 'v850' -gdb_script: none, none, 'v850e2sim_gdb_script' -v850e2sim_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/v850e2v3sim-run.mc b/tester/rtems/testing/bsps/v850e2v3sim-run.ini index 7ff346c..a1d9c73 100644 --- a/tester/rtems/testing/bsps/v850e2v3sim-run.mc +++ b/tester/rtems/testing/bsps/v850e2v3sim-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The v850e2v3sim BSP # -[global] -bsp: none, none, 'v850e2v3sim' - [v850e2v3sim] -v850e2v3sim: none, none, '%{_rtscripts}/run.cfg' -v850e2v3sim_arch: none, none, 'v850' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = v850 +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/v850e2v3sim.ini b/tester/rtems/testing/bsps/v850e2v3sim.ini new file mode 100644 index 0000000..0d95eec --- /dev/null +++ b/tester/rtems/testing/bsps/v850e2v3sim.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The v850e2v3sim BSP +# +[v850e2v3sim] +tester = %{_rtscripts}/gdb.cfg +arch = v850 +gdb_script = v850e2v3sim_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/v850e2v3sim.mc b/tester/rtems/testing/bsps/v850e2v3sim.mc deleted file mode 100644 index 4a2b11a..0000000 --- a/tester/rtems/testing/bsps/v850e2v3sim.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The v850e2v3sim BSP -# -[global] -bsp: none, none, 'v850e2v3sim' - -[v850e2v3sim] -v850e2v3sim: none, none, '%{_rtscripts}/gdb.cfg' -v850e2v3sim_arch: none, none, 'v850' -gdb_script: none, none, 'v850e2v3sim_gdb_script' -v850e2v3sim_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/v850esim-run.mc b/tester/rtems/testing/bsps/v850esim-run.ini index 996de8f..b652bdf 100644 --- a/tester/rtems/testing/bsps/v850esim-run.mc +++ b/tester/rtems/testing/bsps/v850esim-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The v850esim BSP # -[global] -bsp: none, none, 'v850esim' - [v850esim] -v850esim: none, none, '%{_rtscripts}/run.cfg' -v850esim_arch: none, none, 'v850' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = v850 +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/v850esim.ini b/tester/rtems/testing/bsps/v850esim.ini new file mode 100644 index 0000000..46b8380 --- /dev/null +++ b/tester/rtems/testing/bsps/v850esim.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The v850esim BSP +# +[v850esim] +tester = %{_rtscripts}/gdb.cfg +arch = v850 +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/v850esim.mc b/tester/rtems/testing/bsps/v850esim.mc deleted file mode 100644 index 57f17b7..0000000 --- a/tester/rtems/testing/bsps/v850esim.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The v850esim BSP -# -[global] -bsp: none, none, 'v850esim' - -[v850esim] -v850esim: none, none, '%{_rtscripts}/gdb.cfg' -v850esim_arch: none, none, 'v850' -gdb_script: none, none, 'v850esim_gdb_script' -v850esim_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/v850essim-run.mc b/tester/rtems/testing/bsps/v850essim-run.ini index 5ee6d10..5f56dc7 100644 --- a/tester/rtems/testing/bsps/v850essim-run.mc +++ b/tester/rtems/testing/bsps/v850essim-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The v850essim BSP # -[global] -bsp: none, none, 'v850essim' - [v850essim] -v850essim: none, none, '%{_rtscripts}/run.cfg' -v850essim_arch: none, none, 'v850' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = v850 +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/v850essim.ini b/tester/rtems/testing/bsps/v850essim.ini new file mode 100644 index 0000000..9047d8f --- /dev/null +++ b/tester/rtems/testing/bsps/v850essim.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The v850essim BSP +# +[v850essim] +tester = %{_rtscripts}/gdb.cfg +arch = v850 +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/v850essim.mc b/tester/rtems/testing/bsps/v850essim.mc deleted file mode 100644 index 7a1c0fe..0000000 --- a/tester/rtems/testing/bsps/v850essim.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The v850essim BSP -# -[global] -bsp: none, none, 'v850essim' - -[v850essim] -v850essim: none, none, '%{_rtscripts}/gdb.cfg' -v850essim_arch: none, none, 'v850' -gdb_script: none, none, 'v850essim_gdb_script' -v850essim_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/v850sim-run.mc b/tester/rtems/testing/bsps/v850sim-run.ini index 94c931a..e71f28c 100644 --- a/tester/rtems/testing/bsps/v850sim-run.mc +++ b/tester/rtems/testing/bsps/v850sim-run.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The v850sim BSP # -[global] -bsp: none, none, 'v850sim' - [v850sim] -v850sim: none, none, '%{_rtscripts}/run.cfg' -v850sim_arch: none, none, 'v850' -bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run' -bsp_run_opts: none, none, '-a -nouartrx' +tester = %{_rtscripts}/run.cfg +arch = v850 +bsp_run_cmd = %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run +bsp_run_opts = -a -nouartrx diff --git a/tester/rtems/testing/bsps/v850sim.ini b/tester/rtems/testing/bsps/v850sim.ini new file mode 100644 index 0000000..211b859 --- /dev/null +++ b/tester/rtems/testing/bsps/v850sim.ini @@ -0,0 +1,40 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2015 On-Line Applications Research Corporation (OAR). +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The v850sim BSP +# +[v850sim] +tester = %{_rtscripts}/gdb.cfg +arch = v850 +gdb_script = bsp_gdb_script +bsp_gdb_script = target sim + load + run diff --git a/tester/rtems/testing/bsps/v850sim.mc b/tester/rtems/testing/bsps/v850sim.mc deleted file mode 100644 index 3494bcc..0000000 --- a/tester/rtems/testing/bsps/v850sim.mc +++ /dev/null @@ -1,56 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2015 On-Line Applications Research Corporation (OAR). -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The v850sim BSP -# -[global] -bsp: none, none, 'v850sim' - -[v850sim] -v850sim: none, none, '%{_rtscripts}/gdb.cfg' -v850sim_arch: none, none, 'v850' -gdb_script: none, none, 'v850sim_gdb_script' -v850sim_gdb_script: none, none, '''target sim - load - run''' diff --git a/tester/rtems/testing/bsps/xilinx_zynq_a9_qemu.mc b/tester/rtems/testing/bsps/xilinx_zynq_a9_qemu.ini index 6c627a8..843e3fa 100644 --- a/tester/rtems/testing/bsps/xilinx_zynq_a9_qemu.mc +++ b/tester/rtems/testing/bsps/xilinx_zynq_a9_qemu.ini @@ -29,25 +29,9 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The Xilinx Zynq A9 QEMU BSP # -[global] -bsp: none, none, 'xilinx_zynq_a9_qemu' - [xilinx_zynq_a9_qemu] -xilinx_zynq_a9_qemu: none, none, '%{_rtscripts}/qemu.cfg' -xilinx_zynq_a9_qemu_arch: none, none, 'arm' -xilinx_zynq_a9_qemu_opts: none, none, '%{qemu_opts_base} %{qemu_opts_no_net} -M xilinx-zynq-a9 -m 256M' +tester = %{_rtscripts}/qemu.cfg +arch = arm +bsp_qemu_opts = %{qemu_opts_base} %{qemu_opts_no_net} -M xilinx-zynq-a9 -m 256M diff --git a/tester/rtems/testing/bsps/xilinx_zynq_a9_qemu_smp.mc b/tester/rtems/testing/bsps/xilinx_zynq_a9_qemu_smp.ini index f91a036..a1e3323 100644 --- a/tester/rtems/testing/bsps/xilinx_zynq_a9_qemu_smp.mc +++ b/tester/rtems/testing/bsps/xilinx_zynq_a9_qemu_smp.ini @@ -29,26 +29,10 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The Xilinx Zynq A9 QEMU BSP # -[global] -bsp: none, none, 'xilinx_zynq_a9_qemu' -jobs: none, none, 'half' - [xilinx_zynq_a9_qemu] -xilinx_zynq_a9_qemu: none, none, '%{_rtscripts}/qemu.cfg' -xilinx_zynq_a9_qemu_arch: none, none, 'arm' -xilinx_zynq_a9_qemu_opts: none, none, '%{qemu_opts_base} %{qemu_opts_no_net} -M xilinx-zynq-a9 -m 256M -smp cpus=2' +jobs = half +tester = %{_rtscripts}/qemu.cfg +arch = arm +bsp_qemu_opts = %{qemu_opts_base} %{qemu_opts_no_net} -M xilinx-zynq-a9 -m 256M -smp cpus=2 diff --git a/tester/rtems/testing/bsps/xilinx_zynq_zc706_qemu.mc b/tester/rtems/testing/bsps/xilinx_zynq_zc706.ini index d5acc57..34e1cff 100644 --- a/tester/rtems/testing/bsps/xilinx_zynq_zc706_qemu.mc +++ b/tester/rtems/testing/bsps/xilinx_zynq_zc706.ini @@ -29,26 +29,12 @@ # # -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# # The Xilinx Zync ZC706 board connected via OpenOCD and a JTAG pod. The console # is connected to a tty device. # -[global] -bsp: none, none, 'xilinx_zynq_zc706' - [xilinx_zynq_zc706] -xilinx_zynq_zc706: none, none, '%{_rtscripts}/qemu.cfg' -xilinx_zynq_zc706_arch: none, none, 'arm' -xilinx_zynq_zc706_opts: none, none, '%{qemu_opts_base} %{qemu_opts_no_net} -M xilinx-zynq-a9 -m 1024M' +jobs = 1 +tester = %{_rtscripts}/gdb.cfg +arch = arm +gdb_script = bsp_gdb_script +requires = bsp_tty_dev, bsp_gdb_script diff --git a/tester/rtems/testing/bsps/xilinx_zynq_zc706.mc b/tester/rtems/testing/bsps/xilinx_zynq_zc706.mc deleted file mode 100644 index fc427ff..0000000 --- a/tester/rtems/testing/bsps/xilinx_zynq_zc706.mc +++ /dev/null @@ -1,65 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2010-2014 Chris Johns (chrisj@rtems.org) -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The Xilinx Zync ZC706 board connected via OpenOCD and a JTAG pod. The console -# is connected to a tty device. -# -[global] -bsp: none, none, 'xilinx_zynq_zc706' -jobs: none, none, '1' - -[xilinx_zynq_zc706] -xilinx_zynq_zc706: none, none, '%{_rtscripts}/gdb.cfg' -xilinx_zynq_zc706_arch: none, none, 'arm' -#bsp_tty_dev: none, none, '/dev/cuaU0' -bsp_tty_dev: none, none, '/dev/cu.SLAB_USBtoUART' -gdb_script: none, none, 'xilinx_zynq_zc706_gdb_script' -xilinx_zynq_zc706_gdb_script: none, none, '''target remote kaka:3333 -mon load_image /home/chris/development/si/work/hydra/boot/xilinx-zynq-fsbl/build/arm-rtems4.11-xilinx_zynq_zc706/hydra-fsbl.elf 0 elf - mon resume 0 - mon sleep 4000 - mon halt - load - b bsp_reset - continue''' diff --git a/tester/rtems/testing/bsps/xilinx_zynq_zc706_qemu.ini b/tester/rtems/testing/bsps/xilinx_zynq_zc706_qemu.ini new file mode 100644 index 0000000..6f0f02b --- /dev/null +++ b/tester/rtems/testing/bsps/xilinx_zynq_zc706_qemu.ini @@ -0,0 +1,37 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2010-2014 Chris Johns (chrisj@rtems.org) +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The Xilinx Zync ZC706 running QEMU +# +[xilinx_zynq_zc706] +tester = %{_rtscripts}/qemu.cfg +arch = arm +bsp_qemu_opts = %{qemu_opts_base} %{qemu_opts_no_net} -M xilinx-zynq-a9 -m 1024M diff --git a/tester/rtems/testing/bsps/xilinx_zynq_zedboard.ini b/tester/rtems/testing/bsps/xilinx_zynq_zedboard.ini new file mode 100644 index 0000000..e8fa563 --- /dev/null +++ b/tester/rtems/testing/bsps/xilinx_zynq_zedboard.ini @@ -0,0 +1,42 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2010-2017 Chris Johns (chrisj@rtems.org) +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# + +# +# The Xilinx Zynq Zedboard and Microzed board connected via TFTP. The console +# is connected to a telnet tty device. +# +[xilinx_zynq_zedboard] +jobs = 1 +tester = %{_rtscripts}/tftp.cfg +arch = arm +test_restarts = 3 +target_reset_regex = ^No ethernet found.*|^BOOTP broadcast 6.*|^.+complete\.+ TIMEOUT.* +target_start_regex = ^U-Boot SPL .* +requires = target_on_command, target_off_command, target_reset_command, bsp_tty_dev diff --git a/tester/rtems/testing/bsps/xilinx_zynq_zedboard.mc b/tester/rtems/testing/bsps/xilinx_zynq_zedboard.mc deleted file mode 100644 index af10810..0000000 --- a/tester/rtems/testing/bsps/xilinx_zynq_zedboard.mc +++ /dev/null @@ -1,63 +0,0 @@ -# -# RTEMS Tools Project (http://www.rtems.org/) -# Copyright 2010-2017 Chris Johns (chrisj@rtems.org) -# All rights reserved. -# -# This file is part of the RTEMS Tools package in 'rtems-tools'. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, -# this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation -# and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. -# - -# -# All paths in defaults must be Unix format. Do not store any Windows format -# paths in the defaults. -# -# Every entry must describe the type of checking a host must pass. -# -# Records: -# key: type, attribute, value -# type : none, dir, exe, triplet -# attribute: none, required, optional -# value : 'single line', '''multi line''' -# - -# -# The Xilinx Zynq Zedboard and Microzed board connected via TFTP. The console -# is connected to a telnet tty device. -# -[global] -bsp: none, none, 'xilinx_zynq_zedboard' -jobs: none, none, '1' - -[xilinx_zynq_zedboard] -xilinx_zynq_zedboard: none, none, '%{_rtscripts}/tftp.cfg' -xilinx_zynq_zedboard_arch: none, none, 'arm' -test_restarts: none, none, '3' -target_pretest_command: none, none, 'rtems-zynq-mkimg @EXE@' -target_exe_filter_command: none, none, '/\.exe/.exe.img/' -target_on_command: none, none, 'wemo-reset CSEng1 0 && sleep 4 && wemo-reset CSEng1 -1' -target_off_command: none, none, 'wemo-reset CSEng1 0' -target_reset_command: none, none, 'wemo-reset CSEng1 3' -target_reset_regex: none, none, '^No ethernet found.*|^BOOTP broadcast 6.*|^.+complete\.+ TIMEOUT.*' -target_start_regex: none, none, '^U-Boot SPL .*' -bsp_tty_dev: none, none, 'tuke:30005' diff --git a/tester/rtems/testing/qemu.cfg b/tester/rtems/testing/qemu.cfg index 4c5d256..db5b6b2 100644 --- a/tester/rtems/testing/qemu.cfg +++ b/tester/rtems/testing/qemu.cfg @@ -57,8 +57,11 @@ # # Qemu executable # +%ifn %{defined bsp_qemu_opts} + %define bsp_qemu_opts %{nil} +%endif %define qemu_cmd qemu-system-%{bsp_arch} -%define qemu_opts %{bsp_opts} +%define qemu_opts %{bsp_qemu_opts} # # Executable |