Changeset a860a1 for tests/regression


Ignore:
Timestamp:
Oct 31, 2011, 11:48:38 AM (14 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
99b87a
Parents:
a2b0ce
git-author:
Frederik Heber <heber@…> (05/11/11 08:50:45)
git-committer:
Frederik Heber <heber@…> (10/31/11 11:48:38)
Message:

TESTFIX: Regression test Analysis/DipoleAngularCorrelation now also checks per time step not over all time steps.

  • split up zero change (X) and true change (Y) case of the rotating water molecule; otherwise output files get mixed.
  • removed AT_XFAIL_IF from these tests.
Location:
tests/regression/Analysis/DipoleAngularCorrelation
Files:
73 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • tests/regression/Analysis/DipoleAngularCorrelation/post/water_histogram_X.dat

    ra2b0ce ra860a1  
    11BinStart        BinCenter       BinEnd  Count
    2 -5      0       5       35
     2-5      0       5       1
    335       10      15      0
    4415      20      25      0
  • tests/regression/Analysis/DipoleAngularCorrelation/testsuite-analysis-dipole-angular-correlation.at

    ra2b0ce ra860a1  
    11### dipole angular correlation analysis
    22
    3 AT_SETUP([Analysis - dipole angular correlation on PDBs with CONECT])
     3AT_SETUP([Analysis - dipole angular correlation on PDBs with CONECT, zero change])
    44AT_KEYWORDS([analysis dipole correlation pdb dipole-angular-correlation])
    5 AT_XFAIL_IF([/bin/true])
    65AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_X.pdb .], 0)
    7 AT_CHECK([../../molecuilder -v 4 -i watermulti_X.pdb -o pdb --select-molecules-by-formula H2O --select-molecules-atoms --dipole-angular-correlation --bin-start -5 --bin-width 10. --bin-end 184.5 --output-file water_values_X.dat --bin-output-file water_histogram_X.dat], 0, [stdout], [stderr])
    8 AT_CHECK([file=water_histogram_X.dat; diff $file ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/$file], 0, [ignore], [ignore])
    9 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_Y.pdb .], 0)
    10 AT_CHECK([../../molecuilder -v 4 -i watermulti_Y.pdb -o pdb --select-molecules-by-formula H2O --select-molecules-atoms --dipole-angular-correlation --bin-start -5 --bin-width 10. --bin-end 184.5 --output-file water_values_Y.dat --bin-output-file water_histogram_Y.dat], 0, [stdout], [stderr])
    11 AT_CHECK([file=water_histogram_Y.dat; diff $file ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/$file], 0, [ignore], [ignore])
     6AT_CHECK([../../molecuilder -v 4 -i watermulti_X.pdb -o pdb --select-molecules-by-formula H2O --select-molecules-atoms --dipole-angular-correlation --bin-start -5 --bin-width 10. --bin-end 184.5 --output-file water_values --bin-output-file water_histogram], 0, [stdout], [stderr])
     7i=0; while test $i -ne 36; do
     8        step=`printf %04d $i`
     9        AT_CHECK([diff water_histogram.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_histogram_X.dat], 0, [ignore], [ignore])
     10        AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_values_X.dat], 0, [ignore], [ignore])
     11        let i=$i+1
     12done
    1213AT_CLEANUP
    1314
    14 AT_SETUP([Analysis - dipole angular correlation on XYZs])
    15 AT_KEYWORDS([analysis dipole correlation xyz dipole-angular-correlation])
    16 AT_XFAIL_IF([/bin/true])
    17 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_X.xyz .], 0)
    18 AT_CHECK([../../molecuilder -v 4 -i watermulti_X.xyz -o xyz -I --select-molecules-by-formula H2O --select-molecules-atoms --dipole-angular-correlation --bin-start -5 --bin-width 10. --bin-end 184.5 --output-file water_values_X.dat --bin-output-file water_histogram_X.dat], 0, [stdout], [stderr])
    19 AT_CHECK([file=water_histogram_X.dat; diff $file ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/$file], 0, [ignore], [ignore])
    20 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_Y.xyz .], 0)
    21 AT_CHECK([../../molecuilder -v 4 -i watermulti_Y.xyz -o xyz -I --select-molecules-by-formula H2O --select-molecules-atoms --dipole-angular-correlation --bin-start -5 --bin-width 10. --bin-end 184.5 --output-file water_values_Y.dat --bin-output-file water_histogram_Y.dat], 0, [stdout], [stderr])
    22 AT_CHECK([file=water_histogram_Y.dat; diff $file ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/$file], 0, [ignore], [ignore])
     15AT_SETUP([Analysis - dipole angular correlation on PDBs with CONECT, true change])
     16AT_KEYWORDS([analysis dipole correlation pdb dipole-angular-correlation])
     17AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_Y.pdb .], 0)
     18AT_CHECK([../../molecuilder -v 4 -i watermulti_Y.pdb -o pdb --select-molecules-by-formula H2O --select-molecules-atoms --dipole-angular-correlation --bin-start -5 --bin-width 10. --bin-end 184.5 --output-file water_values --bin-output-file water_histogram], 0, [stdout], [stderr])
     19i=0; while test $i -ne 36; do
     20        step=`printf %04d $i`
     21        AT_CHECK([diff water_histogram.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_histogram_Y.$step.dat], 0, [ignore], [ignore])
     22        AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_values_Y.$step.dat], 0, [ignore], [ignore])
     23        let i=$i+1
     24done
    2325AT_CLEANUP
    2426
     27AT_SETUP([Analysis - dipole angular correlation on XYZs, zero change])
     28AT_KEYWORDS([analysis dipole correlation xyz dipole-angular-correlation])
     29AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_X.xyz .], 0)
     30AT_CHECK([../../molecuilder -v 4 -i watermulti_X.xyz -o xyz -I --select-molecules-by-formula H2O --select-molecules-atoms --dipole-angular-correlation --bin-start -5 --bin-width 10. --bin-end 184.5 --output-file water_values --bin-output-file water_histogram], 0, [stdout], [stderr])
     31i=0; while test $i -ne 36; do
     32        step=`printf %04d $i`
     33        AT_CHECK([diff water_histogram.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_histogram_X.dat], 0, [ignore], [ignore])
     34        AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_values_X.dat], 0, [ignore], [ignore])
     35        let i=$i+1
     36done
     37AT_CLEANUP
     38
     39AT_SETUP([Analysis - dipole angular correlation on XYZs, true change])
     40AT_KEYWORDS([analysis dipole correlation xyz dipole-angular-correlation])
     41AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/pre/watermulti_Y.xyz .], 0)
     42AT_CHECK([../../molecuilder -v 4 -i watermulti_Y.xyz -o xyz -I --select-molecules-by-formula H2O --select-molecules-atoms --dipole-angular-correlation --bin-start -5 --bin-width 10. --bin-end 184.5 --output-file water_values --bin-output-file water_histogram], 0, [stdout], [stderr])
     43i=0; while test $i -ne 36; do
     44        step=`printf %04d $i`
     45        AT_CHECK([diff water_histogram.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_histogram_Y.$step.dat], 0, [ignore], [ignore])
     46        AT_CHECK([diff water_values.$step.dat ${abs_top_srcdir}/tests/regression/Analysis/DipoleAngularCorrelation/post/water_values_Y.$step.dat], 0, [ignore], [ignore])
     47        let i=$i+1
     48done
     49AT_CLEANUP
     50
Note: See TracChangeset for help on using the changeset viewer.