Ignore:
Timestamp:
Oct 5, 2011, 8:18:03 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:
689639
Parents:
aba610
git-author:
Frederik Heber <heber@…> (09/29/11 16:12:18)
git-committer:
Frederik Heber <heber@…> (10/05/11 08:18:03)
Message:

Rewrote tests/Tesselations with autotest test driver.

  • this made the whole tests a lot easier (and working with distcheck hopefully, too).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/Tesselations/Makefile.am

    raba610 ra85f45  
    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         isoleucine.test \
    11         neohexane.test \
    12         N_N-dimethylacetamide.test \
    13         proline.test \
    14         putrescine.test \
    15         tartaric_acid.test
    16 
    17 #       heptan.test
     1AUTOM4TE = $(SHELL) $(top_srcdir)/build-aux/missing --run autom4te
    182
    193EXTRA_DIST = \
    20         $(TESTS) \
    21         1_2-dimethoxyethane \
    22         1_2-dimethylbenzene \
    23         2-methylcyclohexanone \
    24         benzene \
    25         cholesterol \
    26         cycloheptane \
    27         dimethyl_bromomalonate \
    28         glucose \
    29         heptan \
    30         isoleucine \
    31         neohexane \
    32         N_N-dimethylacetamide \
    33         proline \
    34         putrescine \
    35         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
    3624
    37 ${TESTS}: defs
     25TESTSUITE = $(srcdir)/testsuite
     26
     27TESTSCRIPTS = \
     28        benzene/testsuite-benzene.at \
     29        1_2-dimethoxyethane/testsuite-1_2-dimethoxyethane.at \
     30        1_2-dimethylbenzene/testsuite-1_2-dimethylbenzene.at \
     31        2-methylcyclohexanone/testsuite-2-methylcyclohexanone.at \
     32        cholesterol/testsuite-cholesterol.at \
     33        cycloheptane/testsuite-cycloheptane.at \
     34        dimethyl_bromomalonate/testsuite-dimethyl_bromomalonate.at \
     35        glucose/testsuite-glucose.at \
     36        isoleucine/testsuite-isoleucine.at \
     37        neohexane/testsuite-neohexane.at \
     38        N_N-dimethylacetamide/testsuite-N_N-dimethylacetamide.at \
     39        proline/testsuite-proline.at \
     40        putrescine/testsuite-putrescine.at \
     41        tartaric_acid/testsuite-tartaric_acid.at
     42
     43max_jobs = 4
     44 
     45check-local: atconfig atlocal $(TESTSUITE)
     46        nrjobs=; \
     47        for flag in $$MAKEFLAGS; do \
     48                case $$flag in \
     49                --* | =*=) ;; \
     50                *j*) nrjobs="-j$(max_jobs)" ;; \
     51                esac; \
     52        done; \
     53        $(SHELL) '$(TESTSUITE)' $$nrjobs $(TESTSUITEFLAGS)
     54
     55installcheck-local: atconfig atlocal $(TESTSUITE)
     56        $(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='$(bindir)' \
     57        $(TESTSUITEFLAGS)
     58
     59clean-local:
     60        test ! -f '$(TESTSUITE)' || \
     61        $(SHELL) '$(TESTSUITE)' --clean
     62
     63AUTOTEST = $(AUTOM4TE) --language=autotest
     64$(TESTSUITE): $(srcdir)/testsuite.at package.m4 $(TESTSCRIPTS)
     65        $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
     66        mv $@.tmp $@
     67
     68# The `:;' works around a Bash 3.2 bug when the output is not writeable.
     69package.m4: $(top_srcdir)/configure.ac
     70        :;{ \
     71                echo '# Signature of the current package.' && \
     72                echo 'm4_define([AT_PACKAGE_NAME],      [@PACKAGE_NAME@])' && \
     73                echo 'm4_define([AT_PACKAGE_TARNAME],   [@PACKAGE_TARNAME@])' && \
     74                echo 'm4_define([AT_PACKAGE_VERSION],   [@PACKAGE_VERSION@])' && \
     75                echo 'm4_define([AT_PACKAGE_STRING],    [@PACKAGE_STRING@])' && \
     76                echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
     77        } >'$(srcdir)/package.m4'
Note: See TracChangeset for help on using the changeset viewer.