source: trunk/WRF.COMMON/WRFV3/tools/test_compile.csh @ 3431

Last change on this file since 3431 was 2759, checked in by aslmd, 2 years ago

adding unmodified code from WRFV3.0.1.1, expurged from useless data +1M size

  • Property svn:executable set to *
File size: 544 bytes
Line 
1#!/bin/csh
2
3/bin/rm -f good.* bad.*
4
5foreach choyce ( 1 2 3 4 )
6  unset subopt
7  set subopt = ( 0 )
8  if ( $choyce == 1 || $choyce == 2 ) then
9    set subopt = ( y n )
10  endif
11  foreach subchoyce ( $subopt )
12     clean -a
13     if ( $subchoyce == 0 ) then
14       echo $choyce | config_new -d
15     else
16       config_new -d << H1
17$choyce
18$subchoyce
19H1
20     endif
21     compile wrf >& seeit.$choyce.$subchoyce
22     if ( -x main/wrf.exe ) then
23       touch good.$choyce.$subchoyce
24     else
25       touch bad.$choyce.$subchoyce
26     endif
27  end
28end
29
Note: See TracBrowser for help on using the repository browser.