From: Ken Raeburn Date: Wed, 11 May 1994 23:49:21 +0000 (+0000) Subject: 8.3 name fixes: ld.cdtest/cdtest-func.cc -> cdtest-bar.cc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76a1b604a6dc039902eb6f8a447e4a9e3b7fafc2;p=binutils-gdb.git 8.3 name fixes: ld.cdtest/cdtest-func.cc -> cdtest-bar.cc --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog new file mode 100644 index 00000000000..031d98735a5 --- /dev/null +++ b/ld/testsuite/ChangeLog @@ -0,0 +1,33 @@ +Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com) + + * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc. + * ld.cdtest/cdtest.exp: Adjusted. + +Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * lib/ld.exp (simple_diff): Indicate failure if files have + different numbers of lines. Don't muck with $differences to avoid + indicating a pass, just return. + + * testsuite/ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}: + Fix test case to be valid ANSI C++. Don't require use of header + files, so "../gcc/xgcc -B../gcc/" can be used for CXX. + * testsuite/ld.cdtest/cdtest.exp: Combine "rm" lines. Add some + commentary on things that are still broken with this test case. + +Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * testsuite/ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage. + +Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * testsuite/lib/ld.exp: add compiler and linker support + * testsuite/config/unix-ld.exp: add compiler and linker support + * testsuite/ld.bootstrap/bootstrap.exp: fixed to do partial links + * testsuite/ld.cdtest/cdtest.exp: constructor/destructor testscase + +Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * testsuite/lib/ld.exp: new file + * testsuite/config/unix-ld.exp: new file + * testsuite/ld.bootstrap/bootstrap.exp: new file diff --git a/ld/testsuite/ld.cdtest/.Sanitize b/ld/testsuite/ld.cdtest/.Sanitize index 67e9e1f2e94..9c2e8c5e981 100644 --- a/ld/testsuite/ld.cdtest/.Sanitize +++ b/ld/testsuite/ld.cdtest/.Sanitize @@ -25,7 +25,7 @@ Things-to-keep: cdtest-foo.cc cdtest-foo.h -cdtest-func.cc +cdtest-bar.cc cdtest-main.cc cdtest.dat cdtest.exp diff --git a/ld/testsuite/ld.cdtest/cdtest-bar.cc b/ld/testsuite/ld.cdtest/cdtest-bar.cc new file mode 100644 index 00000000000..79000e33954 --- /dev/null +++ b/ld/testsuite/ld.cdtest/cdtest-bar.cc @@ -0,0 +1,17 @@ +// test program for Class Foo + +#include "cdtest-foo.h" + +static Foo static_foo( "static_foo"); + +Foo f() +{ + Foo x; + return x; +} + +void g() +{ + Foo other_foo1 = Foo( "other_foo1"), other_foo2 = Foo( "other_foo2"); + other_foo2 = other_foo1; +} diff --git a/ld/testsuite/ld.cdtest/cdtest-func.cc b/ld/testsuite/ld.cdtest/cdtest-func.cc deleted file mode 100644 index 79000e33954..00000000000 --- a/ld/testsuite/ld.cdtest/cdtest-func.cc +++ /dev/null @@ -1,17 +0,0 @@ -// test program for Class Foo - -#include "cdtest-foo.h" - -static Foo static_foo( "static_foo"); - -Foo f() -{ - Foo x; - return x; -} - -void g() -{ - Foo other_foo1 = Foo( "other_foo1"), other_foo2 = Foo( "other_foo2"); - other_foo2 = other_foo1; -} diff --git a/ld/testsuite/ld.cdtest/cdtest.exp b/ld/testsuite/ld.cdtest/cdtest.exp index c7989f1bb9a..321cf0fec84 100644 --- a/ld/testsuite/ld.cdtest/cdtest.exp +++ b/ld/testsuite/ld.cdtest/cdtest.exp @@ -35,14 +35,14 @@ if $tracelevel then { set tmpdir /tmp set ld $objdir/ld.new -set objects "$tmpdir/cdtest-main.o $tmpdir/cdtest-func.o $tmpdir/cdtest-foo.o" +set objects "$tmpdir/cdtest-main.o $tmpdir/cdtest-bar.o $tmpdir/cdtest-foo.o" # compile the dependant objects verbose "### Compiling dependant objects\n" ld_compile "$CXX $CXXFLAGS" $srcdir/$subdir/cdtest-foo.cc $tmpdir/cdtest-foo.o -ld_compile "$CXX $CXXFLAGS" $srcdir/$subdir/cdtest-func.cc $tmpdir/cdtest-func.o +ld_compile "$CXX $CXXFLAGS" $srcdir/$subdir/cdtest-bar.cc $tmpdir/cdtest-bar.o ld_compile "$CXX $CXXFLAGS" $srcdir/$subdir/cdtest-main.cc $tmpdir/cdtest-main.o #