Changeset 520f93 for tests/regression


Ignore:
Timestamp:
Sep 21, 2011, 8:40:54 PM (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:
93eb00
Parents:
e69c87
git-author:
Frederik Heber <heber@…> (04/27/11 16:08:44)
git-committer:
Frederik Heber <heber@…> (09/21/11 20:40:54)
Message:

Split testsuite*.at files in regressions/Parser.

  • one test per file, although undo/redo remain in same file.
Location:
tests/regression
Files:
13 added
1 deleted
3 edited
4 moved

Legend:

Unmodified
Added
Removed
  • tests/regression/Makefile.am

    re69c87 r520f93  
    8383        $(srcdir)/Options/InvalidCommands/testsuite-options-invalid-commands.at \
    8484        $(srcdir)/Parser/testsuite-parser.at \
    85         $(srcdir)/Parser/Mpqc/testsuite-parser-mpqc.at \
     85        $(srcdir)/Parser/Mpqc/testsuite-parser-mpqc-empty.at \
     86        $(srcdir)/Parser/Mpqc/testsuite-parser-mpqc-load.at \
     87        $(srcdir)/Parser/Mpqc/testsuite-parser-mpqc-save.at \
    8688        $(srcdir)/Parser/Mpqc-SetParameters/testsuite-parser-mpqc-set-parameters.at \
    8789        $(srcdir)/Parser/Mpqc-SetParameters/testsuite-parser-mpqc-set-parameters-basis.at \
    8890        $(srcdir)/Parser/Mpqc-SetParameters/testsuite-parser-mpqc-set-parameters-maxiterations.at \
    8991        $(srcdir)/Parser/Mpqc-SetParameters/testsuite-parser-mpqc-set-parameters-theory.at \
    90         $(srcdir)/Parser/Pcp/testsuite-parser-pcp.at \
     92        $(srcdir)/Parser/Pcp/testsuite-parser-pcp-empty.at \
     93        $(srcdir)/Parser/Pcp/testsuite-parser-pcp-load.at \
    9194        $(srcdir)/Parser/Pcp/testsuite-parser-pcp-multiple-timesteps.at \
    92         $(srcdir)/Parser/Pdb/testsuite-parser-pdb.at \
     95        $(srcdir)/Parser/Pcp/testsuite-parser-pcp-save.at \
     96        $(srcdir)/Parser/Pdb/testsuite-parser-pdb-empty.at \
     97        $(srcdir)/Parser/Pdb/testsuite-parser-pdb-load.at \
    9398        $(srcdir)/Parser/Pdb/testsuite-parser-pdb-multiple-timesteps.at \
     99        $(srcdir)/Parser/Pdb/testsuite-parser-pdb-save.at \
    94100        $(srcdir)/Parser/Pdb/testsuite-parser-pdb-with-conects.at \
    95         $(srcdir)/Parser/Tremolo/testsuite-parser-tremolo.at \
     101        $(srcdir)/Parser/Tremolo/testsuite-parser-tremolo-empty.at \
     102        $(srcdir)/Parser/Tremolo/testsuite-parser-tremolo-load.at \
     103        $(srcdir)/Parser/Tremolo/testsuite-parser-tremolo-save.at \
    96104        $(srcdir)/Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials.at \
    97         $(srcdir)/Parser/Xyz/testsuite-parser-xyz.at \
     105        $(srcdir)/Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials-load.at \
     106        $(srcdir)/Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials-save.at \
     107        $(srcdir)/Parser/Xyz/testsuite-parser-xyz-empty.at \
     108        $(srcdir)/Parser/Xyz/testsuite-parser-xyz-load.at \
    98109        $(srcdir)/Parser/Xyz/testsuite-parser-xyz-multiple-timesteps.at \
     110        $(srcdir)/Parser/Xyz/testsuite-parser-xyz-save.at \
    99111        $(srcdir)/RandomNumbers/testsuite-randomnumbers.at \
    100112        $(srcdir)/RandomNumbers/Distribution/testsuite-set-random-number-distribution.at \
  • tests/regression/Parser/Mpqc/testsuite-parser-mpqc-load.at

    re69c87 r520f93  
    11### parsing mpqc
    2 
    3 AT_SETUP([Parser - loading empty mpqc file])
    4 AT_KEYWORDS([parser,mpqc,emptyfile])
    5 
    6 file=empty.in
    7 AT_CHECK([/bin/cp ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/empty.in $file], 0, [ignore], [ignore])
    8 AT_CHECK([chmod u+w $file], 0)
    9 AT_CHECK([../../molecuilder -i $file -o mpqc], 0, [ignore], [ignore])
    10 
    11 AT_CLEANUP
    12 
    132
    143AT_SETUP([Parser - loading mpqc file])
     
    7867
    7968AT_CLEANUP
    80 
    81 
    82 AT_SETUP([Parser - storing mpqc from loaded xyz file])
    83 AT_KEYWORDS([parser,mpqc,xyz])
    84 
    85 AT_CHECK([../../molecuilder -i test.xyz  -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/test.xyz], 0, [ignore], [ignore])
    86 AT_CHECK([file=test.in; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/test.in], 0, [ignore], [ignore])
    87 
    88 AT_CLEANUP
    89 
    90 
    91 AT_SETUP([Parser - saving mpqc (from parsed xyz) file])
    92 AT_KEYWORDS([parser,mpqc,xyz])
    93 
    94 AT_CHECK([../../molecuilder -i test.xyz  -o mpqc -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/pre/test.xyz --output store.in], 0, [ignore], [ignore])
    95 AT_CHECK([diff store.in ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Mpqc/post/test.in], 0, [ignore], [ignore])
    96 
    97 AT_CLEANUP
  • tests/regression/Parser/Pcp/testsuite-parser-pcp-load.at

    re69c87 r520f93  
    11### parsing pcp
    2 
    3 AT_SETUP([Parser - loading empty conf file])
    4 AT_KEYWORDS([parser,pcp,emptyfile])
    5 
    6 file=empty.conf
    7 AT_CHECK([/bin/cp ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pcp/pre/empty.conf $file], 0, [ignore], [ignore])
    8 AT_CHECK([chmod u+w $file], 0)
    9 AT_CHECK([../../molecuilder -i $file -o pcp], 0, [ignore], [ignore])
    10 
    11 AT_CLEANUP
    12 
    132
    143AT_SETUP([Parser - loading conf file])
     
    2615
    2716AT_CHECK([../../molecuilder -i test.conf -o pcp -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pcp/pre/test.conf --undo], 0, [ignore], [ignore])
    28 AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pcp/post/empty.conf], 0, [ignore], [ignore])
     17AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pcp/post/test.conf], 0, [ignore], [ignore])
    2918
    3019AT_CLEANUP
     
    3928
    4029AT_CLEANUP
    41 
    42 
    43 AT_SETUP([Parser - saving conf file])
    44 AT_KEYWORDS([parser,pcp])
    45 
    46 AT_CHECK([../../molecuilder -i test.conf -o pcp -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pcp/pre/test.conf --output store.conf], 0, [ignore], [ignore])
    47 AT_CHECK([diff store.conf ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pcp/post/test.conf], 0, [ignore], [ignore])
    48 
    49 AT_CLEANUP
  • tests/regression/Parser/Pdb/testsuite-parser-pdb-load.at

    re69c87 r520f93  
    11### parsing pdb
    2 
    3 AT_SETUP([Parser - loading empty pdb file])
    4 AT_KEYWORDS([parser,pdb,emptyfile])
    5 AT_CHECK([echo "" >test.pdb], 0, [ignore], [ignore])
    6 AT_CHECK([../../molecuilder -i test.pdb -o pdb], 0, [ignore], [ignore])
    7 AT_CLEANUP
    8 
    92
    103AT_SETUP([Parser - loading pdb file])
     
    3629AT_CLEANUP
    3730
    38 
    39 AT_SETUP([Parser - saving pdb file])
    40 AT_KEYWORDS([parser,pdb])
    41 AT_CHECK([../../molecuilder -i test.pdb  -o pdb -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pdb/pre/test.pdb --output store.pdb], 0, [ignore], [ignore])
    42 AT_CHECK([diff -I '.*created by molecuilder.*' store.pdb ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pdb/post/test.pdb], 0, [ignore], [ignore])
    43 AT_CLEANUP
    44 
  • tests/regression/Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials.at

    re69c87 r520f93  
    1010
    1111AT_CLEANUP
    12 
    13 
    14 AT_SETUP([Parser - load tremolo file with potentials])
    15 AT_KEYWORDS([parser,tremolo,load,potentials])
    16 
    17 file=argon.data
    18 AT_CHECK([/bin/cp ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Tremolo-Potentials/pre/argon.data $file], 0, [ignore], [ignore])
    19 AT_CHECK([/bin/cp ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Tremolo-Potentials/pre/argon.potentials .], 0, [ignore], [ignore])
    20 AT_CHECK([chmod u+w $file], 0)
    21 AT_CHECK([../../molecuilder -v 2 --parse-tremolo-potentials argon.potentials -i $file], 0, [stdout], [ignore])
    22 AT_CHECK([grep "Chemical formula is Ar2" stdout], 0, [ignore], [ignore])
    23 AT_CHECK([diff -w -I '#.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Tremolo-Potentials/post/argon.data], 0, [ignore], [ignore])
    24 
    25 AT_CLEANUP
    26 
    27 
    28 AT_SETUP([Parser - saving tremolo file from loaded xyz file with potentials])
    29 AT_KEYWORDS([parser,tremolo,save,potentials])
    30 
    31 AT_CHECK([../../molecuilder -v 2 --parse-tremolo-potentials argon.potentials -i test.data -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Tremolo-Potentials/pre/test.xyz], 0, [ignore], [ignore])
    32 AT_CHECK([file=test.data; diff -w -I '#.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Tremolo-Potentials/post/test.data], 0, [ignore], [ignore])
    33 
    34 AT_CLEANUP
  • tests/regression/Parser/Xyz/testsuite-parser-xyz-load.at

    re69c87 r520f93  
    11### parsing xyz
    2 
    3 AT_SETUP([Parser - loading empty xyz file])
    4 AT_KEYWORDS([parser,xyz,emptyfile])
    5 
    6 file=empty.xyz
    7 AT_CHECK([/bin/cp ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Xyz/pre/empty.xyz $file], 0, [ignore], [ignore])
    8 AT_CHECK([chmod u+w $file], 0)
    9 AT_CHECK([../../molecuilder -i $file -o xyz], 0, [ignore], [ignore])
    10 
    11 AT_CLEANUP
    12 
    132
    143AT_SETUP([Parser - loading xyz file])
     
    2817file=test.xyz
    2918AT_CHECK([../../molecuilder -i $file -o xyz -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Xyz/pre/test.xyz --undo], 0, [ignore], [ignore])
    30 AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Xyz/post/empty.xyz], 0, [ignore], [ignore])
     19AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Xyz/post/test.xyz], 0, [ignore], [ignore])
    3120
    3221AT_CLEANUP
     
    4231
    4332AT_CLEANUP
    44 
    45 
    46 AT_SETUP([Parser - saving xyz file])
    47 AT_KEYWORDS([parser,xyz])
    48 
    49 AT_CHECK([../../molecuilder -i test.xyz  -o xyz -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Xyz/pre/test.xyz --output store.xyz], 0, [ignore], [ignore])
    50 AT_CHECK([diff -I '.*Created by molecuilder.*' store.xyz ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Xyz/post/test.xyz], 0, [ignore], [ignore])
    51 
    52 AT_CLEANUP
  • tests/regression/Parser/testsuite-parser.at

    re69c87 r520f93  
    88
    99# parsing mpqc
    10 m4_include([Parser/Mpqc/testsuite-parser-mpqc.at])
     10m4_include([Parser/Mpqc/testsuite-parser-mpqc-empty.at])
     11m4_include([Parser/Mpqc/testsuite-parser-mpqc-load.at])
     12m4_include([Parser/Mpqc/testsuite-parser-mpqc-save.at])
    1113
    1214# parsing pcp
    13 m4_include([Parser/Pcp/testsuite-parser-pcp.at])
     15m4_include([Parser/Pcp/testsuite-parser-pcp-empty.at])
     16m4_include([Parser/Pcp/testsuite-parser-pcp-load.at])
    1417m4_include([Parser/Pcp/testsuite-parser-pcp-multiple-timesteps.at])
     18m4_include([Parser/Pcp/testsuite-parser-pcp-save.at])
    1519
    1620# parsing pdb
    17 m4_include([Parser/Pdb/testsuite-parser-pdb.at])
     21m4_include([Parser/Pdb/testsuite-parser-pdb-empty.at])
     22m4_include([Parser/Pdb/testsuite-parser-pdb-load.at])
    1823m4_include([Parser/Pdb/testsuite-parser-pdb-multiple-timesteps.at])
     24m4_include([Parser/Pdb/testsuite-parser-pdb-save.at])
    1925m4_include([Parser/Pdb/testsuite-parser-pdb-with-conects.at])
    2026
    2127# parsing tremolo
    22 m4_include([Parser/Tremolo/testsuite-parser-tremolo.at])
     28m4_include([Parser/Tremolo/testsuite-parser-tremolo-empty.at])
     29m4_include([Parser/Tremolo/testsuite-parser-tremolo-load.at])
     30m4_include([Parser/Tremolo/testsuite-parser-tremolo-save.at])
    2331
    2432# parsing tremolo with .potentials
    2533m4_include([Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials.at])
     34m4_include([Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials-load.at])
     35m4_include([Parser/Tremolo-Potentials/testsuite-parser-tremolo-potentials-save.at])
    2636
    2737# parsing xyz
    28 m4_include([Parser/Xyz/testsuite-parser-xyz.at])
     38m4_include([Parser/Xyz/testsuite-parser-xyz-empty.at])
     39m4_include([Parser/Xyz/testsuite-parser-xyz-load.at])
    2940m4_include([Parser/Xyz/testsuite-parser-xyz-multiple-timesteps.at])
     41m4_include([Parser/Xyz/testsuite-parser-xyz-save.at])
    3042
Note: See TracChangeset for help on using the changeset viewer.