From 76a1b604a6dc039902eb6f8a447e4a9e3b7fafc2 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 11 May 1994 23:49:21 +0000 Subject: 8.3 name fixes: ld.cdtest/cdtest-func.cc -> cdtest-bar.cc --- ld/testsuite/ChangeLog | 33 +++++++++++++++++++++++++++++++++ ld/testsuite/ld.cdtest/.Sanitize | 2 +- ld/testsuite/ld.cdtest/cdtest-bar.cc | 17 +++++++++++++++++ ld/testsuite/ld.cdtest/cdtest-func.cc | 17 ----------------- ld/testsuite/ld.cdtest/cdtest.exp | 4 ++-- 5 files changed, 53 insertions(+), 20 deletions(-) create mode 100644 ld/testsuite/ChangeLog create mode 100644 ld/testsuite/ld.cdtest/cdtest-bar.cc delete mode 100644 ld/testsuite/ld.cdtest/cdtest-func.cc (limited to 'ld') diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog new file mode 100644 index 0000000..031d987 --- /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 67e9e1f..9c2e8c5 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 0000000..79000e3 --- /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 79000e3..0000000 --- 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 c7989f1..321cf0f 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 # -- cgit v1.1