Changeset d6d6c1 for tests


Ignore:
Timestamp:
May 30, 2010, 6:28:14 PM (15 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:
746c57
Parents:
8048a4
git-author:
Frederik Heber <heber@…> (05/30/10 18:24:05)
git-committer:
Frederik Heber <heber@…> (05/30/10 18:28:14)
Message:

Added case '-m' (principal axis system) to testsuite.

Location:
tests/regression
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • tests/regression/testsuite.at

    r8048a4 rd6d6c1  
    8383# 1. create some simplest molecular geometry
    8484AT_SETUP([Simple configuration - xyz file generation])
    85 AT_KEYWORDS([Atom handling])
     85AT_KEYWORDS([configuration])
    8686AT_DATA([test.xyz], [[1
    8787 # test configuration, created by molecuilder test suite
     
    9393# 2. parsing an xyz
    9494AT_SETUP([Simple configuration - parsing xyz file])
     95AT_KEYWORDS([configuration])
    9596AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Simple_configuration/2/pre/test.xyz .], 0)
    9697AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -p test.xyz], 0, [ignore], [ignore])
     
    100101AT_CHECK([file=test.conf.in; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Simple_configuration/2/post/$file], 0, [ignore], [ignore])
    101102AT_CHECK([file=test.conf.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Simple_configuration/2/post/$file], 0, [ignore], [ignore])
     103AT_CLEANUP
    102104
    103105# 3. add atom
    104 AT_CLEANUP
    105106AT_SETUP([Simple configuration - adding atom])
     107AT_KEYWORDS([configuration])
    106108AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -a 1 10. 10. 10.], 0, [ignore], [ignore])
    107109AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Simple_configuration/3/post/$file], 0, [ignore], [ignore])
     
    112114# 4. change the element
    113115AT_SETUP([Simple configuration - Changing element])
     116AT_KEYWORDS([configuration])
    114117AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Simple_configuration/4/pre/test.conf test.conf], 0)
    115118AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -E 0 6], 0, [ignore], [ignore])
     
    119122# 5. remove atom
    120123AT_SETUP([Simple configuration - Atom removal])
     124AT_KEYWORDS([configuration])
    121125AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Simple_configuration/5/pre/test.conf .], 0)
    122126AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -r 0], 0, [ignore], [ignore])
     
    128132# 6. test some more configuration that all desire parameters and count how many complain
    129133AT_SETUP([Simple configuration - invalid commands on empty configs])
     134AT_KEYWORDS([configuration])
    130135AT_CHECK([../../molecuilder empty.conf -e ${abs_top_srcdir}/src/ -t -s -b -E -c -b -a -U -T -u], 255, [ignore], [stderr])
    131136AT_CHECK([fgrep -c "Not enough or invalid" stderr], 0, [1
     
    135140# 7. test some more configuration that all need parameters and count how many complain
    136141AT_SETUP([Simple configuration - invalid commands on present configs])
     142AT_KEYWORDS([configuration])
    137143AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Simple_configuration/7/pre/test.conf .], 0)
    138144AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -t], 255, [ignore], [stderr])
     
    159165
    160166# 8. Removing sphere of atoms
    161 AT_SETUP([Molecules - BROKEN: Removing sphere of atoms])
    162 AT_KEYWORDS([Molecules])
     167AT_SETUP([Simple configuration - BROKEN: Removing sphere of atoms])
     168AT_KEYWORDS([configuration])
    163169AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Simple_configuration/8/pre/test.* .], 0)
    164170AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -R 2 7.], 134, [stdout], [stderr])
     
    229235AT_BANNER([MoleCuilder - Molecules])
    230236# 1. Bonds from file
    231 AT_SETUP([Graph - Bonds from file])
     237AT_SETUP([Molecules - Bonds from file])
    232238AT_KEYWORDS([Molecules])
    233239AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/1/pre/test.* .], 0)
     
    277283AT_CLEANUP
    278284
    279 # 6. Periodic translation
     285# 7. Periodic translation
    280286AT_SETUP([Molecules - Periodic translation])
    281287AT_KEYWORDS([Molecules])
     
    283289AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -T 12. 12. 12.], 0, [stdout], [stderr])
    284290AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/7/post/$file], 0, [ignore], [ignore])
     291AT_CLEANUP
     292
     293# 8. Periodic translation
     294AT_SETUP([Molecules - BROKEN: Rotate to PAS])
     295AT_KEYWORDS([Molecules])
     296AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/8/pre/test.* .], 0)
     297AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -m 1], 0, [stdout], [stderr])
     298#AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/8/post/$file], 0, [ignore], [ignore])
    285299AT_CLEANUP
    286300
     
    412426AT_CHECK([file=bin_output.csv; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Analysis/4/post/$file], 0, [ignore], [ignore])
    413427AT_CLEANUP
     428
     429# 4. principal axis system
     430AT_SETUP([Analysis - principal axis system])
     431AT_KEYWORDS([analysis])
     432AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Analysis/5/pre/test.conf .], 0)
     433AT_CHECK([../../molecuilder test.conf -e ${abs_top_srcdir}/src/ -v 3 -m 0], 0, [stdout], [stderr])
     434AT_CHECK([fgrep "eigenvalue = 4382.53," stdout], 0, [ignore], [ignore])
     435AT_CHECK([fgrep "eigenvalue = 4369.24," stdout], 0, [ignore], [ignore])
     436AT_CHECK([fgrep "eigenvalue = 28.9359," stdout], 0, [ignore], [ignore])
     437AT_CLEANUP
Note: See TracChangeset for help on using the changeset viewer.