Added '--enable-debug' to the '--with-babel' test to ensure that the babel code
gets compiled with '-Wall' turned on.
This commit is contained in:
parent
52f7f70736
commit
d3ff26f806
@ -61,16 +61,21 @@ shift
|
||||
mv -f debug.??? $output_dir
|
||||
|
||||
# Test other builds (last one is the default build)
|
||||
configure_opts="--with-babel --without-MPI --with-strict-checking"
|
||||
for opt in $configure_opts ""
|
||||
# temporarily change word delimeter in order to have spaces in options
|
||||
tmpIFS=$IFS
|
||||
IFS=:
|
||||
configure_opts="--with-babel --enable-debug:--without-MPI:--with-strict-checking: "
|
||||
for opt in $configure_opts
|
||||
do
|
||||
output_subdir=$output_dir/build$opt
|
||||
# only use first part of $opt for subdir name
|
||||
output_subdir=$output_dir/build`echo $opt | awk '{print $1}'`
|
||||
mkdir -p $output_subdir
|
||||
./test.sh configure.sh $src_dir $opt
|
||||
mv -f configure.??? $output_subdir
|
||||
./test.sh make.sh $src_dir test
|
||||
mv -f make.??? $output_subdir
|
||||
done
|
||||
IFS=$tmpIFS
|
||||
|
||||
# Test linking for different languages
|
||||
link_opts="all++ all77"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user