Files correlati : Commento : Aggiunto il preprocessore c++ mcpp per sostituire il compilatore nella compilazione delle maschere.
		
			
				
	
	
		
			23 lines
		
	
	
		
			457 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			457 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # cpp-test.exp      2002/12
 | |
| # to test cpp-test
 | |
| # imported and modified from dg.exp of GNU C
 | |
| 
 | |
| # Load support procs.
 | |
| load_lib gcc-dg.exp
 | |
| 
 | |
| # If a testcase doesn't have special options, use these.
 | |
| global DEFAULT_CFLAGS
 | |
| if ![info exists DEFAULT_CFLAGS] then {
 | |
|     set DEFAULT_CFLAGS " -ansi -pedantic-errors"
 | |
| }
 | |
| 
 | |
| # Initialize `dg'.
 | |
| dg-init
 | |
| 
 | |
| # Main loop.
 | |
| dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cSC\]]] \
 | |
| 	"" $DEFAULT_CFLAGS
 | |
| 
 | |
| # All done.
 | |
| dg-finish
 |