Skip to content

Commit

Permalink
PR testsuite/64605
Browse files Browse the repository at this point in the history
libatomic/
	* testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
	* testsuite/libatomic.c/c.exp: Load gcc-dg.exp.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219722 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
iverbin committed Jan 16, 2015
1 parent ffab0ad commit 6ad7895
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions libatomic/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2015-01-16 Ilya Verbin <[email protected]>

PR testsuite/64605
* testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
* testsuite/libatomic.c/c.exp: Load gcc-dg.exp.

2015-01-09 Andreas Tobler <[email protected]>

* configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
Expand Down
6 changes: 5 additions & 1 deletion libatomic/testsuite/lib/libatomic.exp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ proc load_gcc_lib { filename } {
}

load_lib dg.exp

# Required to use gcc-dg.exp - however, the latter should NOT be
# loaded until ${tool}_target_compile is defined since it uses that
# to determine default LTO options.

load_gcc_lib file-format.exp
load_gcc_lib target-supports.exp
load_gcc_lib target-utils.exp
Expand All @@ -40,7 +45,6 @@ load_gcc_lib torture-options.exp
load_gcc_lib timeout.exp
load_gcc_lib timeout-dg.exp
load_gcc_lib fortran-modules.exp
load_gcc_lib gcc-dg.exp

set dg-do-what-default run

Expand Down
1 change: 1 addition & 0 deletions libatomic/testsuite/libatomic.c/c.exp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ if [info exists lang_test_file] then {
}

load_lib libatomic-dg.exp
load_gcc_lib gcc-dg.exp

# If a testcase doesn't have special options, use these.
if ![info exists DEFAULT_CFLAGS] then {
Expand Down

0 comments on commit 6ad7895

Please sign in to comment.