1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
#!/bin/sh
set -o errexit
set -o nounset
set -o noclobber
out=/tmp/constr-regression.$$.log
opt="-q --vanilla --no-save"
tests="
passing/AlgebraErrorDetection.R
passing/LCAlazarsfeld-rewrite.R
passing/LCAlazarsfeld.R
passing/MultivariateConstraint.R
passing/NamesReferencesErrorDetection.R
passing/RenameAndSummary.R
passing/SimpleConstraint.R
passing/StateSpaceAlg.R
passing/UnivHetModTwinAnalysis_MatrixRawOrdNIQmfFv3.R
passing/UselessConstraint.R
passing/oneLocusLikelihood.R
passing/rowAlgTest140708.R
passing/StateSpaceOsc.R
passing/SubStateSpaceOsc.R
passing/StateSpaceInputs.R
passing/AnalyticConstraintJacobians--Eq_and_Ineq.R
passing/AnalyticConstraintJacobians--PowellBenchmark.R
passing/BukinN2_regressiontest.R
passing/DogChain.R
passing/NelderMeadTest--eqConstraint.R
passing/NelderMeadTest--ineqConstraints.R
passing/PartialAnalyticDeriv.R
passing/RemoveEntriesTest.R
passing/SimpleConfidenceIntervals.R
passing/checkStandardizedLoadingsEtcetera.R
passing/dependentConstraintTest.R
passing/multinomSE.R
passing/redundantConstraintTest.R
passing/stdizedRAMpaths--UserProvidedCov.R
passing/testNumericDerivWithConstraintWarning.R
nightly/180209--defvars.R
nightly/Extreme_Multiformity_chi.R
nightly/startsTestMissing.R
"
for t in $tests; do
echo $t
if false; then
R $opt -f models/$t
else
if ! R $opt -f models/$t > $out 2>&1; then
if grep -q -F "Error: SKIP" $out; then
echo " ... skipped"
rm -f $out
else
cat $out
exit
fi
else
rm -f $out
fi
fi
done
|