1049 |
ldir=build |
ldir=build |
1050 |
( |
( |
1051 |
cd "$dir/$ldir" > /dev/null 2>&1 |
cd "$dir/$ldir" > /dev/null 2>&1 |
1052 |
ls -1 Makefile *.[fFhco] mitgcmuv 2>/dev/null \ |
ls -1 2>/dev/null |
1053 |
| sed -e 's|^CVS$||g' | sed -e 's|^output.txt$||g' |
) > tr_exrun_tmp |
1054 |
) > tr_exrun_links |
echo "Makefile" > tr_exrun_links |
1055 |
|
echo "mitgcmuv" >> tr_exrun_links |
1056 |
|
cat tr_exrun_tmp | grep '\.[fFhco]$' >> tr_exrun_links |
1057 |
( |
( |
1058 |
cd "$dir/tr_run.$ex" |
cd "$dir/tr_run.$ex" |
1059 |
cat ../../tr_exrun_links | while read i ; do |
cat ../../tr_exrun_links | while read i ; do |
1062 |
fi |
fi |
1063 |
done |
done |
1064 |
) |
) |
1065 |
|
test -e tr_exrun_tmp && rm -f tr_exrun_tmp |
1066 |
test -e tr_exrun_links && rm -f tr_exrun_links |
test -e tr_exrun_links && rm -f tr_exrun_links |
1067 |
runmodel $dir/tr_run.$ex && run=Y \ |
runmodel $dir/tr_run.$ex && run=Y \ |
1068 |
&& results=`testoutput $dir tr_run.$ex "."$ex` |
&& results=`testoutput $dir tr_run.$ex "."$ex` |