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