1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-14 01:35:36 +00:00

Minor modification to the filelist script

This commit is contained in:
Guido Cossu 2016-09-23 11:12:45 +01:00
parent 5c190a1b8c
commit 04a437c92c
4 changed files with 1224 additions and 13341 deletions

14530
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -13,21 +13,22 @@ echo CCFILES=$CCFILES >> Make.inc
# tests Make.inc # tests Make.inc
cd $home/tests cd $home/tests
dirs=`find . -type d ` dirs=`find . -type d -not -path '*/\.*'`
for subdir in $dirs; do for subdir in $dirs; do
cd $home/tests/$subdir cd $home/tests/$subdir
TESTS=`ls T*.cc` pwd
TESTLIST=`echo ${TESTS} | sed s/.cc//g ` TESTS=`ls T*.cc`
PREF=`[ $subdir = '.' ] && echo noinst || echo EXTRA` TESTLIST=`echo ${TESTS} | sed s/.cc//g `
echo "tests: ${TESTLIST}" > Make.inc PREF=`[ $subdir = '.' ] && echo noinst || echo EXTRA`
echo ${PREF}_PROGRAMS = ${TESTLIST} >> Make.inc echo "tests: ${TESTLIST}" > Make.inc
echo ${PREF}_PROGRAMS = ${TESTLIST} >> Make.inc
echo >> Make.inc
for f in $TESTS; do
BNAME=`basename $f .cc`
echo ${BNAME}_SOURCES=$f >> Make.inc
echo ${BNAME}_LDADD=-lGrid>> Make.inc
echo >> Make.inc echo >> Make.inc
for f in $TESTS; do done
BNAME=`basename $f .cc`
echo ${BNAME}_SOURCES=$f >> Make.inc
echo ${BNAME}_LDADD=-lGrid>> Make.inc
echo >> Make.inc
done
done done
# benchmarks Make.inc # benchmarks Make.inc
@ -38,10 +39,10 @@ TESTLIST=`echo ${TESTS} | sed s/.cc//g `
echo bin_PROGRAMS = ${TESTLIST} > Make.inc echo bin_PROGRAMS = ${TESTLIST} > Make.inc
echo >> Make.inc echo >> Make.inc
for f in $TESTS; do for f in $TESTS; do
BNAME=`basename $f .cc` BNAME=`basename $f .cc`
echo ${BNAME}_SOURCES=$f >> Make.inc echo ${BNAME}_SOURCES=$f >> Make.inc
echo ${BNAME}_LDADD=-lGrid>> Make.inc echo ${BNAME}_LDADD=-lGrid>> Make.inc
echo >> Make.inc echo >> Make.inc
done done
cd .. cd ..

0
tests/qdpxx/Test_qdpxx_loops_staples.cc Executable file → Normal file
View File

0
tests/qdpxx/Test_qdpxx_munprec.cc Executable file → Normal file
View File