Changeset 8c0ac9 for tests/integration


Ignore:
Timestamp:
Jun 20, 2018, 8:21:14 AM (7 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.6.1, ChemicalSpaceEvaluator, Exclude_Hydrogens_annealWithBondGraph, ForceAnnealing_with_BondGraph_contraction-expansion
Children:
06536b
Parents:
e72d94
git-author:
Frederik Heber <frederik.heber@…> (06/14/18 11:49:03)
git-committer:
Frederik Heber <frederik.heber@…> (06/20/18 08:21:14)
Message:

TESTFIX: Made integration tests for structure optimization of water and methane stricter.

  • bond graph optimization seems to reach far lower values in 30 steps.
Location:
tests/integration/StructureOptimization
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/integration/StructureOptimization/testsuite-integration-structureoptimization-methane.at

    re72d94 r8c0ac9  
    7373components=`grep "at step #30 are (.*,.*,.*)" stdout | sed -e "s#.*(\(.*\),\(.*\),\(.*\)).*#\1\t\2\t\3#"`
    7474echo "remaining components are ($components)"
    75 threshold="1.2e-3"
     75threshold="2e-4"
    7676AT_CHECK([echo "$components" | awk -v threshold="$threshold" -F"\t" '{ for (i=0;i<3;++i) { if ((($i+0.) > (threshold+0.)) || (($i+0.) < (-threshold+0.))) exit 5} }'], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
    7777
  • tests/integration/StructureOptimization/testsuite-integration-structureoptimization-water.at

    re72d94 r8c0ac9  
    7373components=`grep "at step #30 are (.*,.*,.*)" stdout | sed -e "s#.*(\(.*\),\(.*\),\(.*\)).*#\1\t\2\t\3#"`
    7474echo "remaining components are ($components)"
    75 threshold="6e-4"
     75threshold="3e-5"
    7676AT_CHECK([echo "$components" | awk -v threshold="$threshold" -F"\t" '{ for (i=0;i<3;++i) { if ((($i+0.) > (threshold+0.)) || (($i+0.) < (-threshold+0.))) exit 5} }'], 0, [ignore], [ignore], [kill $server_pid $worker_pid])
    7777
Note: See TracChangeset for help on using the changeset viewer.