source: tests/regression/Makefile.am@ 490038

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
Last change on this file since 490038 was 490038, checked in by Frederik Heber <heber@…>, 14 years ago

added --with-valgrind switch to configure script.

  • if given, we use valgrind in the testsuite call and fail when valgrind reports errors or leaking memory.
  • is off by default.
  • test_all.sh:
    • CXXFLAGS needs to be stated after configure such that configure can store the set value (also in its log)
    • always compiles with -Wall
    • in case of -g3 we use --with-valgrind to enable valgrinding of testsuite
    • extended function configure() to three arguments, to allow for recognizing "-g3"
  • Property mode set to 100755
File size: 1.4 KB
RevLine 
[b2b47f]1AUTOM4TE = autom4te
[490038]2EXTRA_DIST = \
3 testsuite*.at \
4 $(TESTSUITE) \
5 atlocal.in \
6 molecuider.in \
7 Analysis \
8 Domain \
9 Filling \
10 Fragmentation \
11 Graph \
12 Molecules \
13 Simple_configuration \
14 Tesselation
[b2b47f]15TESTSUITE = $(srcdir)/testsuite
16
[97b825]17max_jobs = 4
18
[b2b47f]19check-local: atconfig atlocal package.m4 $(TESTSUITE)
[458447]20 nrjobs=; \
[97b825]21 for flag in $$MAKEFLAGS; do \
22 case $$flag in \
23 --* | =*=) ;; \
[458447]24 *j*) nrjobs="-j$(max_jobs)" ;; \
[97b825]25 esac; \
[458447]26 done; \
27 $(SHELL) '$(TESTSUITE)' $$nrjobs $(TESTSUITEFLAGS)
[b2b47f]28
29installcheck-local: atconfig atlocal $(TESTSUITE)
[97b825]30 $(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='$(bindir)' \
31 $(TESTSUITEFLAGS)
32
[b2b47f]33clean-local:
[97b825]34 test ! -f '$(TESTSUITE)' || \
35 $(SHELL) '$(TESTSUITE)' --clean
[b2b47f]36
37AUTOTEST = $(AUTOM4TE) --language=autotest
[5ddb8a]38$(TESTSUITE): $(srcdir)/testsuite.at $(srcdir)/testsuite-*.at
[97b825]39 $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
40 mv $@.tmp $@
[b2b47f]41
42# The `:;' works around a Bash 3.2 bug when the output is not writeable.
43$(srcdir)/package.m4: $(top_srcdir)/configure.ac
[97b825]44 :;{ \
45 echo '# Signature of the current package.' && \
46 echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
47 echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
48 echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
49 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
50 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
51 } >'$(srcdir)/package.m4'
Note: See TracBrowser for help on using the repository browser.