Re: [PATCH v2] bsps/sparc: Remove INI files using SIS in GBD

2021-03-23 Thread Chris Johns
On 24/3/21 6:46 am, Gedare Bloom wrote:
> On Tue, Mar 23, 2021 at 1:45 PM Ryan Long  wrote:
>>
>> Removed the INI files that use the "target sim" option
>> since the SIS sparc simulator in GBD is no longer used
> GDB
> 
>> with RTEMS. A newer version of SIS is built seperately.
> while you're at it, separately
> 
> This can be pushed with the typo changes, also GDB in the first line
> of the commit msg.

  [ Just following up the discord chat ... ]

I am not so sure. This breaks the eco-system user interface the community may
depend on. If I wish to test the erc32 or leon2 then that is all I should use.
The original idea is the default or standard test name is the BSP name.

As discussed in discord the approach is not perfect because things change as
these patches show and it does not handle aliased BSPs (not sure how to handle
that). We need to find ways to handle these things.

I suggest we try the INI include support the rtemstoolkit provides to see if
these top level BSP test configs can reference the preferred implementation.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH v2] bsps/sparc: Remove INI files using SIS in GBD

2021-03-23 Thread Gedare Bloom
On Tue, Mar 23, 2021 at 1:45 PM Ryan Long  wrote:
>
> Removed the INI files that use the "target sim" option
> since the SIS sparc simulator in GBD is no longer used
GDB

> with RTEMS. A newer version of SIS is built seperately.
while you're at it, separately

This can be pushed with the typo changes, also GDB in the first line
of the commit msg.
>
> Closes #4355
> ---
>  tester/rtems/testing/bsps/erc32.ini | 41 
> -
>  tester/rtems/testing/bsps/leon2.ini | 41 
> -
>  tester/rtems/testing/bsps/leon3.ini | 41 
> -
>  3 files changed, 123 deletions(-)
>  delete mode 100644 tester/rtems/testing/bsps/erc32.ini
>  delete mode 100644 tester/rtems/testing/bsps/leon2.ini
>  delete mode 100644 tester/rtems/testing/bsps/leon3.ini
>
> diff --git a/tester/rtems/testing/bsps/erc32.ini 
> b/tester/rtems/testing/bsps/erc32.ini
> deleted file mode 100644
> index 7911a2f..000
> --- a/tester/rtems/testing/bsps/erc32.ini
> +++ /dev/null
> @@ -1,41 +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.
> -#
> -
> -#
> -# The erc32 BSP
> -#
> -[erc32]
> -bsp= erc32
> -arch   = sparc
> -tester = %{_rtscripts}/gdb.cfg
> -gdb_script = bsp_gdb_script
> -bsp_gdb_script = target sim
> - load
> - run
> diff --git a/tester/rtems/testing/bsps/leon2.ini 
> b/tester/rtems/testing/bsps/leon2.ini
> deleted file mode 100644
> index 77fed49..000
> --- a/tester/rtems/testing/bsps/leon2.ini
> +++ /dev/null
> @@ -1,41 +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.
> -#
> -
> -#
> -# The leon2 BSP
> -#
> -[leon2]
> -bsp= leon2
> -arch   = sparc
> -tester = %{_rtscripts}/gdb.cfg
> -gdb_script = bsp_gdb_script
> -bsp_gdb_script = target sim -leon2
> - load
> - run
> diff --git a/tester/rtems/testing/bsps/leon3.ini 
> 

[PATCH v2] bsps/sparc: Remove INI files using SIS in GBD

2021-03-23 Thread Ryan Long
Removed the INI files that use the "target sim" option
since the SIS sparc simulator in GBD is no longer used
with RTEMS. A newer version of SIS is built seperately.

Closes #4355
---
 tester/rtems/testing/bsps/erc32.ini | 41 -
 tester/rtems/testing/bsps/leon2.ini | 41 -
 tester/rtems/testing/bsps/leon3.ini | 41 -
 3 files changed, 123 deletions(-)
 delete mode 100644 tester/rtems/testing/bsps/erc32.ini
 delete mode 100644 tester/rtems/testing/bsps/leon2.ini
 delete mode 100644 tester/rtems/testing/bsps/leon3.ini

diff --git a/tester/rtems/testing/bsps/erc32.ini 
b/tester/rtems/testing/bsps/erc32.ini
deleted file mode 100644
index 7911a2f..000
--- a/tester/rtems/testing/bsps/erc32.ini
+++ /dev/null
@@ -1,41 +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.
-#
-
-#
-# The erc32 BSP
-#
-[erc32]
-bsp= erc32
-arch   = sparc
-tester = %{_rtscripts}/gdb.cfg
-gdb_script = bsp_gdb_script
-bsp_gdb_script = target sim
- load
- run
diff --git a/tester/rtems/testing/bsps/leon2.ini 
b/tester/rtems/testing/bsps/leon2.ini
deleted file mode 100644
index 77fed49..000
--- a/tester/rtems/testing/bsps/leon2.ini
+++ /dev/null
@@ -1,41 +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.
-#
-
-#
-# The leon2 BSP
-#
-[leon2]
-bsp= leon2
-arch   = sparc
-tester = %{_rtscripts}/gdb.cfg
-gdb_script = bsp_gdb_script
-bsp_gdb_script = target sim -leon2
- load
- run
diff --git a/tester/rtems/testing/bsps/leon3.ini 
b/tester/rtems/testing/bsps/leon3.ini
deleted file mode 100644
index 74eafb7..000
--- a/tester/rtems/testing/bsps/leon3.ini
+++ /dev/null
@@ -1,41 +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 bi