This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

g++dg/dg.exp newbie usage problem


After much pain, I have the beginnings of a documented procedure
for running gcc's regression tests remotely in the simplest
of cases (two similar red hat linux boxes on a LAN).
It's at
  http://www.kegel.com/xgcc3/dejagnu.html

But the pain isn't quite over yet.  When I run gcc3.0.1's
tests remotely, I get a few failures.  Since I'm a total newbie
at this stuff, I'm sure it's something obvious.  Running
  runtest --tool g++ -v -v -v -v > log1
  runtest --tool g++ --target dual -v -v -v -v> log2
  diff -au log1 log2
should produce no interesting differences, but I get a bunch
of compile-time errors in the remote case (--target dual) in
g++.dg/dg.exp.
That isn't right, as both cases compile on the same machine.
Can someone have a look at my recipe and see if there's any
obvious flaws?
Thanks!
- Dan

p.s. excerpt of diff -au log1 log2 follows:


@@ -1931,7 +1946,7 @@
 Checking pattern "sparc-*-sunos*" with i386-redhat-linux-gnu
 Checking pattern "alpha*-*-*" with i386-redhat-linux-gnu
 Checking pattern "hppa*-*-hpux*" with i386-redhat-linux-gnu
-Checking "*-*-*" against "i386-redhat-linux-gnu"
+FAIL: g++.dg/vtgc1.C (test for excess errors)
 Running dg-final tests.
 dg-final-proc:
  setup_xfail *-*-*
@@ -1961,25 +1976,41 @@
  setup_xfail *-*-*
  scan-assembler-dem vtgc1.C "\.vtable_inherit\[ \t\]*vtable for Base0, 0"

-Checking "*-*-*" against "i386-redhat-linux-gnu"
+Checking "*-*-*" against "dual"
+board_info host exists no_transform_name
+board_info target exists target_install
+Transforming c++filt to i386-redhat-linux-c++filt
 Seeing if /usr/src/redhat/BUILD/gcc-3.0.1-20010905/obj-i386-redhat-linux/gcc/testsuite/c++filt exists.
-Didn't find file /usr/src/redhat/BUILD/gcc-3.0.1-20010905/obj-i386-redhat-linux/gcc/testsuite/c++filt, returning c++filt
+Didn't find file /usr/src/redhat/BUILD/gcc-3.0.1-20010905/obj-i386-redhat-linux/gcc/testsuite/c++filt, returning i386-redhat-linux
-c++filt
 Seeing if /usr/src/redhat/BUILD/gcc-3.0.1-20010905/obj-i386-redhat-linux/gcc/testsuite/../c++filt exists.
 Found file, returning /usr/src/redhat/BUILD/gcc-3.0.1-20010905/obj-i386-redhat-linux/gcc/testsuite/../c++filt
 c++filt is /usr/src/redhat/BUILD/gcc-3.0.1-20010905/obj-i386-redhat-linux/gcc/testsuite/../c++filt
-Checking "*-*-*" against "i386-redhat-linux-gnu"
-Checking "*-*-*" against "i386-redhat-linux-gnu"
-Checking "*-*-*" against "i386-redhat-linux-gnu"
-Checking "*-*-*" against "i386-redhat-linux-gnu"
-Checking "*-*-*" against "i386-redhat-linux-gnu"
-Checking "*-*-*" against "i386-redhat-linux-gnu"
-Checking "*-*-*" against "i386-redhat-linux-gnu"
-Checking "*-*-*" against "i386-redhat-linux-gnu"
-Checking "*-*-*" against "i386-redhat-linux-gnu"
-Checking "*-*-*" against "i386-redhat-linux-gnu"
-Checking "*-*-*" against "i386-redhat-linux-gnu"
-Checking "*-*-*" against "i386-redhat-linux-gnu"
-testcase /usr/src/redhat/BUILD/gcc-3.0.1-20010905/gcc/testsuite/g++.dg/dg.exp completed in 5 seconds
+FAIL: g++.dg/vtgc1.C scan-assembler .vtable_inherit[   ]*vtable for Multivv3, 0
+Checking "*-*-*" against "dual"
+FAIL: g++.dg/vtgc1.C scan-assembler .vtable_inherit[   ]*VTT for Multivv3, 0
+Checking "*-*-*" against "dual"
+FAIL: g++.dg/vtgc1.C scan-assembler .vtable_inherit[   ]*vtable for Multiss2, vtable for Base2
+Checking "*-*-*" against "dual"
+FAIL: g++.dg/vtgc1.C scan-assembler .vtable_inherit[   ]*vtable for Multivs1, vtable for Base2
+Checking "*-*-*" against "dual"
+FAIL: g++.dg/vtgc1.C scan-assembler .vtable_inherit[   ]*VTT for Multivs1, vtable for Base2
+Checking "*-*-*" against "dual"
+FAIL: g++.dg/vtgc1.C scan-assembler .vtable_inherit[   ]*vtable for Multisv0, vtable for Side0
+Checking "*-*-*" against "dual"
+FAIL: g++.dg/vtgc1.C scan-assembler .vtable_inherit[   ]*VTT for Multisv0, vtable for Side0
+Checking "*-*-*" against "dual"
+FAIL: g++.dg/vtgc1.C scan-assembler .vtable_inherit[   ]*vtable for Side0, 0
+Checking "*-*-*" against "dual"
+FAIL: g++.dg/vtgc1.C scan-assembler .vtable_inherit[   ]*vtable for VbasedA, 0
+Checking "*-*-*" against "dual"
+FAIL: g++.dg/vtgc1.C scan-assembler .vtable_inherit[   ]*VTT for VbasedA, 0
+Checking "*-*-*" against "dual"
+FAIL: g++.dg/vtgc1.C scan-assembler .vtable_inherit[   ]*vtable for Base2, vtable for Base1
+Checking "*-*-*" against "dual"
+FAIL: g++.dg/vtgc1.C scan-assembler .vtable_inherit[   ]*vtable for Base1, vtable for Base0
+Checking "*-*-*" against "dual"
+FAIL: g++.dg/vtgc1.C scan-assembler .vtable_inherit[   ]*vtable for Base0, 0
+testcase /usr/src/redhat/BUILD/gcc-3.0.1-20010905/gcc/testsuite/g++.dg/dg.exp completed in 3 seconds
 Running /usr/src/redhat/BUILD/gcc-3.0.1-20010905/gcc/testsuite/g++.dg/special/ecos.exp ...
 Checking pattern "*-dos-*" with i386-redhat-linux-gnu

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]