source: tests/Examples/Makefile.am@ 4464ef

Action_Thermostats Add_AtomRandomPerturbation Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_ChronosMutex Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction Subpackage_levmar Subpackage_vmg ThirdParty_MPQC_rebuilt_buildsystem TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since 4464ef was 4464ef, checked in by Frederik Heber <heber@…>, 8 years ago

Added Examples tests that integrate the full fragment automation pipeline.

  • Property mode set to 100755
File size: 1.4 KB
Line 
1AUTOM4TE = $(SHELL) $(top_srcdir)/build-aux/missing --run autom4te
2
3if CONDJOBMARKET
4TESTSUITE = $(srcdir)/testsuite
5endif
6
7DISTCLEANFILES = atconfig
8
9TESTSCRIPTS =
10
11TESTSCRIPTS += \
12 $(srcdir)/testsuite-examples.at \
13 $(srcdir)/Simple/testsuite-examples-simple-h2o.at
14
15EXTRA_DIST = \
16 testsuite.at \
17 $(TESTSUITE) \
18 atlocal.in \
19 molecuilder.in \
20 package.m4 \
21 Simple \
22 $(TESTSCRIPTS)
23
24max_jobs = 4
25
26examples: atconfig atlocal $(TESTSUITE)
27 nrjobs=; \
28 for flag in $$MAKEFLAGS; do \
29 case $$flag in \
30 --* | =*=) ;; \
31 *j*) nrjobs="-j$(max_jobs)" ;; \
32 esac; \
33 done; \
34 $(SHELL) '$(TESTSUITE)' $$nrjobs AUTOTEST_PATH='$(abs_top_builddir)/src' $(TESTSUITEFLAGS)
35
36clean-local:
37 test ! -f '$(TESTSUITE)' || \
38 $(SHELL) '$(TESTSUITE)' --clean
39
40AUTOTEST = $(AUTOM4TE) --language=autotest
41$(TESTSUITE): $(srcdir)/testsuite.at package.m4 $(TESTSCRIPTS)
42 $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
43 mv $@.tmp $@
44
45# The `:;' works around a Bash 3.2 bug when the output is not writeable.
46package.m4: $(top_srcdir)/configure.ac
47 :;{ \
48 echo '# Signature of the current package.' && \
49 echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])' && \
50 echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])' && \
51 echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])' && \
52 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])' && \
53 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
54 } >'package.m4'
Note: See TracBrowser for help on using the repository browser.