[cfe-dev] TestRunner.sh reporting inconsistent results

Nuno Lopes nunoplopes at sapo.pt
Sat Jul 19 15:31:30 PDT 2008


Ah, nevermind. The problem in long-double-x86.c is with sizeof(). It's 
returning 16, while the test expected 12.
Nuno


----- Original Message -----
>I think I've fixed the dumptokens_phyloc.c test. The regex didn't catch the
> directory /.
> The long-double-x86.c test failure is weird, as the sizeof() value is ok.
> This is probably related with the new I-C-E.
>
> Nuno
>
> ----- Original Message ----- 
> From: "Ted Kremenek" <kremenek at apple.com>
> To: "cfe-dev Developers" <cfe-dev at cs.uiuc.edu>
> Sent: Saturday, July 19, 2008 8:37 PM
> Subject: [cfe-dev] TestRunner.sh reporting inconsistent results
>
>
>>I applied Kovarththanan Rajaratnam's patch to the Preprocessor so that
>> -dumptokens emitted proper column numbers, and his provided test case
>> passes when TestRunner.sh is run on it directly:
>>
>> (kremenek at tedbook:Preprocessor)$ ../TestRunner.sh dumptokens_phyloc.c
>> (kremenek at tedbook:Preprocessor)$
>>
>> When I do 'make test', it reports a failure:
>>
>> (kremenek at tedbook:clang)$ make -j2 test
>> --- Running clang tests ---
>> ..............................................
>> ---- CodeGen/long-double-x86.c failed ----
>> ............................................................................
>> ---- Preprocessor/dumptokens_phyloc.c failed ----
>> ............................................................................................................................................................................................................................................................................................................................................................
>>
>> The long-double-x86.c failure is another story (I just started seeing
>> that one).
>>
>> Any thoughts?  Why is 'make test' reporting a failure here when
>> TestRunner.sh does not?  Incidentally, the test dumptokens_phyloc.c
>> does the following:
>>
>>  clang -dumptokens dumptokens_phyloc.c 2>&1 | grep "PhysLoc=[_.a-zA-
>> Z]*:3:20"
>>
>> I echoed the exit status:
>>
>>  clang -dumptokens dumptokens_phyloc.c 2>&1 | grep "PhysLoc=[_.a-zA-
>> Z]*:3:20" ; echo $?
>>
>> and got 0. 




More information about the cfe-dev mailing list