mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
Build and test the toy scheme interpreter during continuous integration, to reduce the risk of accidentally breaking it.
Copied from Perforce Change: 192133 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
8005cb5f77
commit
4dd6e899f5
2 changed files with 8 additions and 3 deletions
|
|
@ -71,7 +71,7 @@ make-install-dirs:
|
|||
install: @INSTALL_TARGET@
|
||||
|
||||
test-make-build:
|
||||
$(MAKE) $(TARGET_OPTS) testci testratio
|
||||
$(MAKE) $(TARGET_OPTS) testci testratio testscheme
|
||||
$(MAKE) -C code -f anan$(MPS_BUILD_NAME).gmk VARIETY=cool clean testansi
|
||||
$(MAKE) -C code -f anan$(MPS_BUILD_NAME).gmk VARIETY=cool CFLAGS="-DCONFIG_POLL_NONE" clean testpollnone
|
||||
|
||||
|
|
|
|||
|
|
@ -332,8 +332,7 @@ RATIO=$$(awk "BEGIN{print int(100 * $$TIME_HOT / $$TIME_RASH)}"); \
|
|||
printf "Performance ratio (hot/rash) for $(2): %d%%\n" $$RATIO
|
||||
endef
|
||||
|
||||
.PHONY: testratio
|
||||
testratio:
|
||||
testratio: phony
|
||||
$(MAKE) -f $(PFM).gmk VARIETY=hot djbench gcbench
|
||||
$(MAKE) -f $(PFM).gmk VARIETY=rash djbench gcbench
|
||||
$(call ratio,gcbench,amc)
|
||||
|
|
@ -354,6 +353,12 @@ $(PFM)/$(VARIETY)/testmmqa:
|
|||
(cd ../test && $(MMQA) runset testsets/passing)
|
||||
|
||||
|
||||
# == Toy Scheme interpreter ==
|
||||
|
||||
testscheme: phony
|
||||
$(MAKE) -C ../example/scheme test
|
||||
|
||||
|
||||
# These convenience targets allow one to type "make foo" to build target
|
||||
# foo in selected varieties (or none, for the latter rule).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue