www.digitalmars.com         C & C++   DMDScript  

D.gnu - Why is dejagnu skipping some tests in the testsuite?

cat gcc/testsuite/gdc/gdc.sum | grep template6.d
PASS: runnable/template6.d (test for excess errors)
PASS: runnable/template6.d execution test
PASS: runnable/template6.d -g  (test for excess errors)
PASS: runnable/template6.d -g  execution test
PASS: runnable/template6.d -O2  (test for excess errors)
PASS: runnable/template6.d -O2  execution test
PASS: runnable/template6.d -g -O2  (test for excess errors)
PASS: runnable/template6.d -g -O2  execution test
PASS: runnable/template6.d -frelease  (test for excess errors)
PASS: runnable/template6.d -frelease  execution test
PASS: runnable/template6.d -g -frelease  (test for excess errors)
PASS: runnable/template6.d -g -frelease  execution test
PASS: runnable/template6.d -O2 -frelease  (test for excess errors)
PASS: runnable/template6.d -O2 -frelease  execution test
PASS: runnable/template6.d -g -O2 -frelease  (test for excess errors)
PASS: runnable/template6.d -g -O2 -frelease  execution test

but:

cat gcc/testsuite/gdc/gdc.sum | grep testenum.d
PASS: runnable/testenum.d (test for excess errors)
PASS: runnable/testenum.d execution test

 Iain do you know why this is happening?



This was hiding yet another problem:

gdc -g runnable/testenum.d
runnable/testenum.d:111: internal compiler error: in build_type_decl,
at d/d-objfile.cc:1972 0x699f19 build_type_decl(tree_node*, Dsymbol*)
	../../gcc-4.9-20131201/gcc/d/d-objfile.cc:1972
0x689eec EnumDeclaration::toDebug()
	../../gcc-4.9-20131201/gcc/d/d-decls.cc:798
0x696bcf EnumDeclaration::toObjFile(int)
	../../gcc-4.9-20131201/gcc/d/d-objfile.cc:667
0x69b4c6 Module::genobjfile(int)
	../../gcc-4.9-20131201/gcc/d/d-objfile.cc:1456
0x68760f d_parse_file()
	../../gcc-4.9-20131201/gcc/d/d-lang.cc:1125
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gdcproject.org/bugzilla> for instructions.
Jan 08 2014