Fixed the external blas test and nested string issue in autotest

This commit is contained in:
Rob Falgout 2017-10-16 11:33:58 -07:00
parent 2dd88045ec
commit 93247daea1
3 changed files with 8 additions and 7 deletions

View File

@ -75,7 +75,8 @@ rm -fr $output_dir
mkdir -p $output_dir
# Configure
./test.sh configure.sh $src_dir $copts
# NOTE: The use of 'eval' is needed to deal properly with nested quotes in argument lists
eval ./test.sh configure.sh $src_dir $copts
mv -f configure.??? $output_dir
# Make

View File

@ -40,12 +40,13 @@ src_dir=`cd $1; pwd`
shift
# Run configure
# NOTE: The use of 'eval' is needed to deal properly with nested quotes in argument lists
cd $src_dir
if [ "`uname -s`" = "AIX" ]
then
nopoe ./configure $@
eval nopoe ./configure $@
else
./configure $@
eval ./configure $@
fi
# Save config.log, HYPRE_config.h and Makefile.config

View File

@ -48,10 +48,9 @@ mo="-j test"
ro="-ams -ij -sstruct -struct"
eo=""
# RDF: Unfortunately, there is no way to pass the inside quotes through to configure
# co="--enable-debug --with-blas-lib='-L/home/falgout2/codes/blas/BLAS-3.7.1 -lblas -lgfortran'"
# ./test.sh basic.sh $src_dir -co: $co -mo: $mo
# ./renametest.sh basic $output_dir/basic-blas
co="--enable-debug --with-blas-lib=\\'-L/home/falgout2/codes/blas/BLAS-3.7.1 -lblas -lgfortran\\'"
./test.sh basic.sh $src_dir -co: $co -mo: $mo
./renametest.sh basic $output_dir/basic-blas
co="--enable-debug --with-mli --with-superlu --with-superlu-include=/home/falgout2/codes/superlu/SuperLU_5.2.1/SRC"
./test.sh basic.sh $src_dir -co: $co -mo: $mo