In http://reviews.llvm.org/D7073#111358, @jroelofs wrote:

> It occurs to me that we ought to have an shtest that exercises not.py. How 
> about something like this?


Probably a good idea. We should probably have a directory that contains tests 
for the test suite if that makes sense. Any idea where that should live?

PS. `%run` expands to `%exec %t.exe` so you need to put `-o %t.exe` in the 
compile command. I'll write up some documentation on the substitutions once 
this patch gets through.

>   // -*- C++ -*-

>   
> //===----------------------------------------------------------------------===//

>   //

>   //                     The LLVM Compiler Infrastructure

>   //

>   // This file is dual licensed under the MIT and the University of Illinois 
> Open

>   // Source Licenses. See LICENSE.TXT for details.

>   //

>   
> //===----------------------------------------------------------------------===//

>   

>   // RUN: %cxx -c %s %flags %compile_flags %link_flags

>   // RUN: not %run

>   

>   int main() {

>     return 1;

>   }

> 



http://reviews.llvm.org/D7073

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to