source: tests/CodeChecks/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 c62e27, checked in by Frederik Heber <heber@…>, 10 years ago

Added CodeChecks test that every action appears in the userguide.

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