* [PATCH] testsuite: Register loaded libs
@ 2014-04-27 17:52 Sebastian Huber
2014-04-28 7:33 ` Mike Stump
0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Huber @ 2014-04-27 17:52 UTC (permalink / raw)
To: gcc-patches; +Cc: schwab
libffi/ChangeLog
2014-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* testsuite/lib/libffi.exp (load_gcc_lib): Register loaded libs.
libjava/ChangeLog
2014-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* testsuite/lib/libjava.exp (load_gcc_lib): Register loaded
libs.
libstdc++-v3/ChangeLog
2014-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* testsuite/lib/libstdc++.exp (load_gcc_lib): Register loaded
libs.
---
libffi/testsuite/lib/libffi.exp | 4 +++-
libjava/testsuite/lib/libjava.exp | 4 +++-
libstdc++-v3/testsuite/lib/libstdc++.exp | 4 +++-
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/libffi/testsuite/lib/libffi.exp b/libffi/testsuite/lib/libffi.exp
index 3c61baa..25efce2 100644
--- a/libffi/testsuite/lib/libffi.exp
+++ b/libffi/testsuite/lib/libffi.exp
@@ -15,8 +15,10 @@
# <http://www.gnu.org/licenses/>.
proc load_gcc_lib { filename } {
- global srcdir
+ global srcdir loaded_libs
+
load_file $srcdir/../../gcc/testsuite/lib/$filename
+ set loaded_libs($filename) ""
}
load_lib dg.exp
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp
index 0de823b..0cfb253 100644
--- a/libjava/testsuite/lib/libjava.exp
+++ b/libjava/testsuite/lib/libjava.exp
@@ -2,8 +2,10 @@
# Free Software Foundation
proc load_gcc_lib { filename } {
- global srcdir
+ global srcdir loaded_libs
+
load_file $srcdir/../../gcc/testsuite/lib/$filename
+ set loaded_libs($filename) ""
}
load_lib libgloss.exp
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index 95954d8..a23ea3b 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -38,8 +38,10 @@
# ~/.dejagnurc or $DEJAGNU.
proc load_gcc_lib { filename } {
- global srcdir
+ global srcdir loaded_libs
+
load_file $srcdir/../../gcc/testsuite/lib/$filename
+ set loaded_libs($filename) ""
}
# system routines
--
1.8.1.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] testsuite: Register loaded libs
2014-04-27 17:52 [PATCH] testsuite: Register loaded libs Sebastian Huber
@ 2014-04-28 7:33 ` Mike Stump
2014-04-28 7:57 ` Sebastian Huber
0 siblings, 1 reply; 6+ messages in thread
From: Mike Stump @ 2014-04-28 7:33 UTC (permalink / raw)
To: Sebastian Huber; +Cc: gcc-patches, schwab
On Apr 27, 2014, at 10:45 AM, Sebastian Huber <sebastian.huber@embedded-brains.de> wrote:
> 2014-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
>
> * testsuite/lib/libffi.exp (load_gcc_lib): Register loaded libs.
So, I didn’t see anything that strikes me as wrong, but, I’m curious why you want this? I didn’t see any uses?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] testsuite: Register loaded libs
2014-04-28 7:33 ` Mike Stump
@ 2014-04-28 7:57 ` Sebastian Huber
2014-04-28 16:25 ` Mike Stump
0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Huber @ 2014-04-28 7:57 UTC (permalink / raw)
To: Mike Stump; +Cc: gcc-patches
On 2014-04-28 04:23, Mike Stump wrote:
> On Apr 27, 2014, at 10:45 AM, Sebastian Huber <sebastian.huber@embedded-brains.de> wrote:
>> 2014-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
>>
>> * testsuite/lib/libffi.exp (load_gcc_lib): Register loaded libs.
>
> So, I didnÂ’t see anything that strikes me as wrong, but, IÂ’m curious why you want this? I didnÂ’t see any uses?
>
I would like to add tests for C/C++ compatibility of atomic operations.
http://gcc.gnu.org/ml/gcc/2014-04/msg00267.html
This patch unifies all copy and paste versions of load_gcc_lib.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] testsuite: Register loaded libs
2014-04-28 7:57 ` Sebastian Huber
@ 2014-04-28 16:25 ` Mike Stump
2014-05-09 8:36 ` Sebastian Huber
0 siblings, 1 reply; 6+ messages in thread
From: Mike Stump @ 2014-04-28 16:25 UTC (permalink / raw)
To: Sebastian Huber; +Cc: gcc-patches
On Apr 28, 2014, at 12:32 AM, Sebastian Huber <sebastian.huber@embedded-brains.de> wrote:
> On 2014-04-28 04:23, Mike Stump wrote:
>> On Apr 27, 2014, at 10:45 AM, Sebastian Huber <sebastian.huber@embedded-brains.de> wrote:
>>> 2014-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
>>>
>>> * testsuite/lib/libffi.exp (load_gcc_lib): Register loaded libs.
>>
>> So, I didn’t see anything that strikes me as wrong, but, I’m curious why you want this? I didn’t see any uses?
>>
>
> I would like to add tests for C/C++ compatibility of atomic operations.
>
> http://gcc.gnu.org/ml/gcc/2014-04/msg00267.html
>
> This patch unifies all copy and paste versions of load_gcc_lib.
Ah, thanks for the pointer…
Ok.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] testsuite: Register loaded libs
2014-04-28 16:25 ` Mike Stump
@ 2014-05-09 8:36 ` Sebastian Huber
2014-05-20 8:32 ` Chung-Ju Wu
0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Huber @ 2014-05-09 8:36 UTC (permalink / raw)
To: gcc-patches
On 2014-04-28 18:24, Mike Stump wrote:
> On Apr 28, 2014, at 12:32 AM, Sebastian Huber<sebastian.huber@embedded-brains.de> wrote:
>> >On 2014-04-28 04:23, Mike Stump wrote:
>>> >>On Apr 27, 2014, at 10:45 AM, Sebastian Huber<sebastian.huber@embedded-brains.de> wrote:
>>>> >>>2014-04-27 Sebastian Huber<sebastian.huber@embedded-brains.de>
>>>> >>>
>>>> >>> * testsuite/lib/libffi.exp (load_gcc_lib): Register loaded libs.
>>> >>
>>> >>So, I didnÂ’t see anything that strikes me as wrong, but, IÂ’m curious why you want this? I didnÂ’t see any uses?
>>> >>
>> >
>> >I would like to add tests for C/C++ compatibility of atomic operations.
>> >
>> >http://gcc.gnu.org/ml/gcc/2014-04/msg00267.html
>> >
>> >This patch unifies all copy and paste versions of load_gcc_lib.
> Ah, thanks for the pointerÂ…
>
> Ok.
Can someone please commit this for me.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] testsuite: Register loaded libs
2014-05-09 8:36 ` Sebastian Huber
@ 2014-05-20 8:32 ` Chung-Ju Wu
0 siblings, 0 replies; 6+ messages in thread
From: Chung-Ju Wu @ 2014-05-20 8:32 UTC (permalink / raw)
To: Sebastian Huber; +Cc: gcc patches, Mike Stump
2014-05-09 16:36 GMT+08:00 Sebastian Huber <sebastian.huber@embedded-brains.de>:
> On 2014-04-28 18:24, Mike Stump wrote:
>> On Apr 28, 2014, at 12:32 AM, Sebastian
>> Huber<sebastian.huber@embedded-brains.de> wrote:
>>>
>>> >I would like to add tests for C/C++ compatibility of atomic operations.
>>> >
>>> >http://gcc.gnu.org/ml/gcc/2014-04/msg00267.html
>>> >
>>> >This patch unifies all copy and paste versions of load_gcc_lib.
>>
>> Ah, thanks for the pointer…
>>
>> Ok.
>
>
> Can someone please commit this for me.
>
Hi, Sebastian,
I committed this patch for you:
https://gcc.gnu.org/r210634
Best regards,
jasonwucj
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-05-20 8:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-27 17:52 [PATCH] testsuite: Register loaded libs Sebastian Huber
2014-04-28 7:33 ` Mike Stump
2014-04-28 7:57 ` Sebastian Huber
2014-04-28 16:25 ` Mike Stump
2014-05-09 8:36 ` Sebastian Huber
2014-05-20 8:32 ` Chung-Ju Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).