source: ThirdParty/JobMarket/tests/CodeChecks/Makefile.am@ 536b13

Action_Thermostats Add_AtomRandomPerturbation Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 ChangeBugEmailaddress ChemicalSpaceEvaluator Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_oldresults ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps
Last change on this file since 536b13 was 6ec999, checked in by Frederik Heber <heber@…>, 8 years ago

DISTFIX: package.m4 must not be prefixed with srcdir in Makefile.am.

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