home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,287 of 2,753   
   Carlo Salinari to All   
   Re: Testing C Compiler   
   31 Mar 08 07:40:48   
   
   From: carlo.salinari@gmail.com   
      
   > I'm trying to find out if I can find standardized tests that will   
   > help, or if I'm just going to have to download every program I can   
   > find and compile it to see what happens.   
      
   Hi David,   
      
   gcc comes with a rather large test suite. Have a look at:   
   http://gcc.gnu.org/viewcvs/trunk/gcc/testsuite/   
      
   that could be a good starting point. Probably you could look at other   
   open compiler projects as well, such as pcc or llvm:   
   http://en.wikipedia.org/wiki/Portable_C_Compiler   
   http://llvm.org/docs/TestingGuide.html#wholeprograms   
      
   this is an example of how the tinyc compiler tests himself against the   
   gcc testsuite:   
   http://cvs.savannah.nongnu.org/viewvc/tinycc/gcctestsuite.sh?roo   
   =tinycc&view=markup   
      
   Bye,   
   Carlo   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca