[commit] Fix up return values in ctti.exp

Keith Seitz keiths@redhat.com
Mon Nov 9 23:51:00 GMT 2009


On 11/02/2009 07:55 AM, Daniel Jacobowitz wrote:
> This test is bit-rotten because it is disabled for GCC.  It still
> doesn't pass with GCC, so I left it disabled, but I hope that Keith's
> branch will resolve this.

I commented out the bit in the test that causes the majority of tests to 
get skipped with gcc and ran ctti.exp through both FSF gdb and my 
expr-cumulative archer branch:

FSF gdb:
Running ../../../src/gdb/testsuite/gdb.cp/ctti.exp ...
FAIL: gdb.cp/ctti.exp: print add<int>(2,2)
FAIL: gdb.cp/ctti.exp: print add<float>(2.25,2.25)
FAIL: gdb.cp/ctti.exp: print add<unsigned char>('A','A')
FAIL: gdb.cp/ctti.exp: print add2<int>(2,2)
FAIL: gdb.cp/ctti.exp: print add2<float>(2.25,2.25)
FAIL: gdb.cp/ctti.exp: print add2<unsigned char>('A','A')
FAIL: gdb.cp/ctti.exp: print add3<int>(2,2)
FAIL: gdb.cp/ctti.exp: print add3<float>(2.25,2.25)
FAIL: gdb.cp/ctti.exp: print add3<unsigned char>('A','A')
FAIL: gdb.cp/ctti.exp: print add4<int>(2,2)
FAIL: gdb.cp/ctti.exp: print add4<float>(2.25,2.25)
FAIL: gdb.cp/ctti.exp: print add4<unsigned char>('A','A')

		=== gdb Summary ===

# of expected passes		4
# of unexpected failures	12
/home/keiths/sources/gdb/linux/gdb/testsuite/../../gdb/gdb version 
7.0.50.20091109-cvs -nw -nx

Archer/expr-cumulative:
Running ../../../archer/gdb/testsuite/gdb.cp/ctti.exp ...

		=== gdb Summary ===

# of expected passes		16
/home/keiths/work/archer/expr-cumulative/linux/gdb/testsuite/../../gdb/gdb 
version  7.0.50.20090917-cvs -nw -nx

I am concentrating my efforts to get the contents of expr-cumulative 
submitted, reviewed, and committed upstream now.

Keith



More information about the Gdb-patches mailing list