Re: [Ctool-develop] running tests
Brought to you by:
flisakow
From: Shaun F. <fli...@so...> - 2003-08-01 17:21:00
|
Stefan, Unfortunately, the problems with 8q and enum2 stem from the inclusion of stdio.h. On solaris and many other systems, these files are pretty clean - the gcc versions however are chock full of gcc extensions, many of which ctool doesn't support yet. I've done some work on this, mostly just trying to recognize and ignore them, the 'gcc' test suite is something I was working on to resolve these issues. I just checked accept0 and checked in new versions - many had an extra #line directive at the top of their results which is not appearing for me. The STDC thing sounds like you might have WINDOWS defined?, see lexer.l: #ifdef WINDOWS # ifndef __STDC__ # define __STDC__ 1 # endif .... #endif Thanks, Shaun On Thursday, July 31, 2003, at 05:15 PM, Stefan Seefeld wrote: > hi there, > > I tried running the regression tests, but didn't get very > far. In fact, the problems I'm seeing look suspiciously like > configurational errors, so I assume the problem can easily > be solved (by someone with the necessary knowledge :-) > > The output from the 'accept0' run is appended... > > Thanks, > Stefan > Test Suite output from suite(s): accept0 > > test_suite started at: Thu Jul 31 20:12:33 EDT 2003 > > Testing the suite accept0 > Test Suite output from suite accept0 > > Test started at: Thu Jul 31 20:12:33 EDT 2003 > > Testing the 8q program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > /usr/include/gconv.h:176: Unsized array not allowed as field: > __extension__ struct __gconv_step_data __data []; > ^ > /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h:43: Error > (parse error) before 'Identifier' > typedef __builtin_va_list __gnuc_va_list; > ^ > /usr/include/libio.h:195: Warning - old-style declaration or incorrect > type: > }; > ^ > ctdemo: decl.cpp:971: <Pretty Function Name (gcc only)>: Assertion > `comp->name->entry->IsComponentDecl()' failed. > done. > Testing the bug1 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the bug2 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the bug3 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the bug4 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the bug5 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the bug7 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the bug8 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the dowhile program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the enum program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the enum2 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > /usr/include/gconv.h:176: Unsized array not allowed as field: > __extension__ struct __gconv_step_data __data []; > ^ > /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h:43: Error > (parse error) before 'Identifier' > typedef __builtin_va_list __gnuc_va_list; > ^ > /usr/include/libio.h:195: Warning - old-style declaration or incorrect > type: > }; > ^ > ctdemo: decl.cpp:971: <Pretty Function Name (gcc only)>: Assertion > `comp->name->entry->IsComponentDecl()' failed. > done. > Testing the funcptr program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the idlist program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the ken program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the main3 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the main3a program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the mt program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > Warning: ANSI/ISO C forbids an empty source file. > done. > Testing the pnt program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the sizeof program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the ste program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the struct program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the struct2 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the v0 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the v1 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the v2 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the v3 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the v4 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the v6 program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > Testing the wide program...<command line>:1:1: warning: "__STDC__" > redefined > <built-in>:9:1: warning: this is the location of the previous > definition > done. > > Testing finished at: Thu Jul 31 20:12:34 EDT 2003 > > Ouput from 8q does not match expected output. > Ouput from bug1 does not match expected output. > Ouput from bug2 does not match expected output. > Ouput from bug3 does not match expected output. > Ouput from bug4 does not match expected output. > Ouput from bug5 does not match expected output. > Ouput from bug7 does not match expected output. > Ouput from bug8 does not match expected output. > Ouput from dowhile does not match expected output. > Ouput from enum does not match expected output. > Ouput from enum2 does not match expected output. > Ouput from funcptr does not match expected output. > Ouput from idlist does not match expected output. > Ouput from ken does not match expected output. > Ouput from main3 does not match expected output. > Ouput from main3a does not match expected output. > Ouput from mt does not match expected output. > Ouput from pnt does not match expected output. > Ouput from sizeof does not match expected output. > Ouput from ste does not match expected output. > Ouput from struct does not match expected output. > Ouput from struct2 does not match expected output. > Ouput from v0 does not match expected output. > Ouput from v1 does not match expected output. > Ouput from v2 does not match expected output. > Ouput from v3 does not match expected output. > Ouput from v4 does not match expected output. > Ouput from v6 does not match expected output. > Ouput from wide does not match expected output. > > Differing Output: 29 > Tested: 29 > > > Percent differing: 100.00% > > Percent successful: 0.00% > Done testing suite accept0. > test_suite finished at: Thu Jul 31 20:12:34 EDT 2003 > > |