Ignore:
Timestamp:
Oct 5, 2011, 9:16:04 AM (13 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:
6a5108, 7db9bd
Parents:
689639
git-author:
Frederik Heber <heber@…> (09/29/11 16:56:25)
git-committer:
Frederik Heber <heber@…> (10/05/11 09:16:04)
Message:

Rewrote tests/Fragmentations with autotest test driver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/Fragmentations/Makefile.am

    r689639 r740d40  
    1 TESTS = \
    2         1_2-dimethoxyethane.test \
    3         1_2-dimethylbenzene.test \
    4         2-methylcyclohexanone.test \
    5         benzene.test \
    6         cholesterol.test \
    7         cycloheptane.test \
    8         dimethyl_bromomalonate.test \
    9         glucose.test \
    10         heptan.test \
    11         isoleucine.test \
    12         neohexane.test \
    13         N_N-dimethylacetamide.test \
    14         proline.test \
    15         putrescine.test \
    16         tartaric_acid.test
     1AUTOM4TE = $(SHELL) $(top_srcdir)/build-aux/missing --run autom4te
    172
    183EXTRA_DIST = \
    19         $(TESTS) \
    20         1_2-dimethoxyethane \
    21         1_2-dimethylbenzene \
    22         2-methylcyclohexanone \
    23         benzene \
    24         cholesterol \
    25         cycloheptane \
    26         dimethyl_bromomalonate \
    27         glucose \
    28         heptan \
    29         isoleucine \
    30         neohexane \
    31         N_N-dimethylacetamide \
    32         proline \
    33         putrescine \
    34         tartaric_acid
     4        testsuite.at \
     5        $(TESTSUITE) \
     6        atlocal.in \
     7        molecuilder.in \
     8        $(srcdir)/package.m4 \
     9        $(srcdir)/1_2-dimethoxyethane \
     10        $(srcdir)/1_2-dimethylbenzene \
     11        $(srcdir)/2-methylcyclohexanone \
     12        $(srcdir)/benzene \
     13        $(srcdir)/cholesterol \
     14        $(srcdir)/cycloheptane \
     15        $(srcdir)/dimethyl_bromomalonate \
     16        $(srcdir)/glucose \
     17        $(srcdir)/heptan \
     18        $(srcdir)/isoleucine \
     19        $(srcdir)/neohexane \
     20        $(srcdir)/N_N-dimethylacetamide \
     21        $(srcdir)/proline \
     22        $(srcdir)/putrescine \
     23        $(srcdir)/tartaric_acid
    3524
    36 ${TESTS}: defs
     25TESTSUITE = $(srcdir)/testsuite
     26
     27DISTCLEANFILES = atconfig
     28
     29TESTSCRIPTS = \
     30        1_2-dimethoxyethane/testsuite-1_2-dimethoxyethane-order1.at \
     31        1_2-dimethoxyethane/testsuite-1_2-dimethoxyethane-order2.at \
     32        1_2-dimethoxyethane/testsuite-1_2-dimethoxyethane-order3.at \
     33        1_2-dimethoxyethane/testsuite-1_2-dimethoxyethane-order4.at \
     34        1_2-dimethylbenzene/testsuite-1_2-dimethylbenzene-order1.at \
     35        1_2-dimethylbenzene/testsuite-1_2-dimethylbenzene-order2.at \
     36        1_2-dimethylbenzene/testsuite-1_2-dimethylbenzene-order3.at \
     37        1_2-dimethylbenzene/testsuite-1_2-dimethylbenzene-order4.at \
     38        2-methylcyclohexanone/testsuite-2-methylcyclohexanone-order1.at \
     39        2-methylcyclohexanone/testsuite-2-methylcyclohexanone-order2.at \
     40        2-methylcyclohexanone/testsuite-2-methylcyclohexanone-order3.at \
     41        2-methylcyclohexanone/testsuite-2-methylcyclohexanone-order4.at \
     42        benzene/testsuite-benzene-order1.at \
     43        benzene/testsuite-benzene-order2.at \
     44        benzene/testsuite-benzene-order3.at \
     45        benzene/testsuite-benzene-order4.at \
     46        benzene/testsuite-benzene-order5.at \
     47        benzene/testsuite-benzene-order6.at \
     48        cholesterol/testsuite-cholesterol-order1.at \
     49        cholesterol/testsuite-cholesterol-order2.at \
     50        cholesterol/testsuite-cholesterol-order3.at \
     51        cholesterol/testsuite-cholesterol-order4.at \
     52        cycloheptane/testsuite-cycloheptane-order1.at \
     53        cycloheptane/testsuite-cycloheptane-order2.at \
     54        cycloheptane/testsuite-cycloheptane-order3.at \
     55        cycloheptane/testsuite-cycloheptane-order4.at \
     56        cycloheptane/testsuite-cycloheptane-order5.at \
     57        cycloheptane/testsuite-cycloheptane-order6.at \
     58        dimethyl_bromomalonate/testsuite-dimethyl_bromomalonate-order1.at \
     59        dimethyl_bromomalonate/testsuite-dimethyl_bromomalonate-order2.at \
     60        dimethyl_bromomalonate/testsuite-dimethyl_bromomalonate-order3.at \
     61        dimethyl_bromomalonate/testsuite-dimethyl_bromomalonate-order4.at \
     62        dimethyl_bromomalonate/testsuite-dimethyl_bromomalonate-order5.at \
     63        dimethyl_bromomalonate/testsuite-dimethyl_bromomalonate-order6.at \
     64        glucose/testsuite-glucose-order1.at \
     65        glucose/testsuite-glucose-order2.at \
     66        glucose/testsuite-glucose-order3.at \
     67        glucose/testsuite-glucose-order4.at \
     68        glucose/testsuite-glucose-order5.at \
     69        glucose/testsuite-glucose-order6.at \
     70        heptan/testsuite-heptan-order1.at \
     71        heptan/testsuite-heptan-order2.at \
     72        heptan/testsuite-heptan-order3.at \
     73        heptan/testsuite-heptan-order4.at \
     74        isoleucine/testsuite-isoleucine-order1.at \
     75        isoleucine/testsuite-isoleucine-order2.at \
     76        isoleucine/testsuite-isoleucine-order3.at \
     77        isoleucine/testsuite-isoleucine-order4.at \
     78        isoleucine/testsuite-isoleucine-order5.at \
     79        isoleucine/testsuite-isoleucine-order6.at \
     80        neohexane/testsuite-neohexane-order1.at \
     81        neohexane/testsuite-neohexane-order2.at \
     82        neohexane/testsuite-neohexane-order3.at \
     83        neohexane/testsuite-neohexane-order4.at \
     84        neohexane/testsuite-neohexane-order5.at \
     85        neohexane/testsuite-neohexane-order6.at \
     86        N_N-dimethylacetamide/testsuite-N_N-dimethylacetamide-order1.at \
     87        N_N-dimethylacetamide/testsuite-N_N-dimethylacetamide-order2.at \
     88        N_N-dimethylacetamide/testsuite-N_N-dimethylacetamide-order3.at \
     89        N_N-dimethylacetamide/testsuite-N_N-dimethylacetamide-order4.at \
     90        N_N-dimethylacetamide/testsuite-N_N-dimethylacetamide-order5.at \
     91        N_N-dimethylacetamide/testsuite-N_N-dimethylacetamide-order6.at \
     92        proline/testsuite-proline-order1.at \
     93        proline/testsuite-proline-order2.at \
     94        proline/testsuite-proline-order3.at \
     95        proline/testsuite-proline-order4.at \
     96        proline/testsuite-proline-order5.at \
     97        proline/testsuite-proline-order6.at \
     98        putrescine/testsuite-putrescine-order1.at \
     99        putrescine/testsuite-putrescine-order2.at \
     100        putrescine/testsuite-putrescine-order3.at \
     101        putrescine/testsuite-putrescine-order4.at \
     102        putrescine/testsuite-putrescine-order5.at \
     103        putrescine/testsuite-putrescine-order6.at \
     104        tartaric_acid/testsuite-tartaric_acid-order1.at \
     105        tartaric_acid/testsuite-tartaric_acid-order2.at \
     106        tartaric_acid/testsuite-tartaric_acid-order3.at \
     107        tartaric_acid/testsuite-tartaric_acid-order4.at \
     108        tartaric_acid/testsuite-tartaric_acid-order5.at \
     109        tartaric_acid/testsuite-tartaric_acid-order6.at
     110
     111max_jobs = 4
     112 
     113check-local: atconfig atlocal $(TESTSUITE)
     114        nrjobs=; \
     115        for flag in $$MAKEFLAGS; do \
     116                case $$flag in \
     117                --* | =*=) ;; \
     118                *j*) nrjobs="-j$(max_jobs)" ;; \
     119                esac; \
     120        done; \
     121        $(SHELL) '$(TESTSUITE)' $$nrjobs $(TESTSUITEFLAGS)
     122
     123installcheck-local: atconfig atlocal $(TESTSUITE)
     124        $(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='$(bindir)' \
     125        $(TESTSUITEFLAGS)
     126
     127clean-local:
     128        test ! -f '$(TESTSUITE)' || \
     129        $(SHELL) '$(TESTSUITE)' --clean
     130
     131AUTOTEST = $(AUTOM4TE) --language=autotest
     132$(TESTSUITE): $(srcdir)/testsuite.at package.m4 $(TESTSCRIPTS)
     133        $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
     134        mv $@.tmp $@
     135
     136# The `:;' works around a Bash 3.2 bug when the output is not writeable.
     137package.m4: $(top_srcdir)/configure.ac
     138        :;{ \
     139                echo '# Signature of the current package.' && \
     140                echo 'm4_define([AT_PACKAGE_NAME],      [@PACKAGE_NAME@])' && \
     141                echo 'm4_define([AT_PACKAGE_TARNAME],   [@PACKAGE_TARNAME@])' && \
     142                echo 'm4_define([AT_PACKAGE_VERSION],   [@PACKAGE_VERSION@])' && \
     143                echo 'm4_define([AT_PACKAGE_STRING],    [@PACKAGE_STRING@])' && \
     144                echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
     145        } >'$(srcdir)/package.m4'
Note: See TracChangeset for help on using the changeset viewer.