Skip to content
Snippets Groups Projects
Commit 385f54c9 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Ensure that the final pike is used for testing and module dumping.

Rev: src/make_variables.in:1.27
Rev: src/modules/common_module_makefile.in:1.45
Rev: src/modules/dynamic_module_makefile.in:1.122
parent ed73babf
No related branches found
No related tags found
No related merge requests found
# -*- Makefile -*-
#
# $Id: make_variables.in,v 1.26 2006/08/02 20:16:38 mast Exp $
# $Id: make_variables.in,v 1.27 2006/08/02 20:59:47 mast Exp $
#
# Note: This template is actually used only for make_variables in the
# subdirectories; the one created in the build base dir is just an
......@@ -35,6 +35,7 @@ TMP_LIBDIR=$(TMP_BUILDDIR)/lib
SRCDIR=@srcdir@
DEFAULT_RUNPIKE=$(TMP_BUILDDIR)/$(BUILD_PIKE) -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS)
FINAL_PIKE=$(TMP_BUILDDIR)/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS)
USE_PIKE=pike $(PIKEOPTS)
RUNPIKE=$(@RUNPIKE@)
......
#
# $Id: common_module_makefile.in,v 1.44 2006/08/02 20:16:38 mast Exp $
# $Id: common_module_makefile.in,v 1.45 2006/08/02 20:59:47 mast Exp $
#
# Contains stuff common to both dynamic_module_makefile and
# static_module_makefile.
......@@ -197,10 +197,10 @@ testsuite: $(SRCDIR)/testsuite.in $(REAL_TESTSUITE) $(TMP_BINDIR)/mktestsuite
extra_tests: $(MODULE_TESTS)
verify: testsuite $(MODULE_TESTS) $(PIKE_EXTERNAL_MODULE)
$(RUNPIKE) -Mplib/modules $(TMP_BINDIR)/test_pike.pike testsuite
$(FINAL_PIKE) -Mplib/modules $(TMP_BINDIR)/test_pike.pike testsuite
verbose_verify: testsuite $(MODULE_TESTS) $(PIKE_EXTERNAL_MODULE)
@$(RUNPIKE) -Mplib/modules $(TMP_BINDIR)/test_pike.pike testsuite --verbose
@$(FINAL_PIKE) -Mplib/modules $(TMP_BINDIR)/test_pike.pike testsuite --verbose
gdb_verify: testsuite $(PIKE_EXTERNAL_MODULE)
@echo >.gdbinit handle SIGUSR1 nostop noprint pass
......
#
# $Id: dynamic_module_makefile.in,v 1.121 2006/08/02 20:29:18 mast Exp $
# $Id: dynamic_module_makefile.in,v 1.122 2006/08/02 20:59:47 mast Exp $
#
LIBGCC=@LIBGCC@
......@@ -118,11 +118,11 @@ local_install: $(MODULE_INSTALL)
dump_module: install
-rm -f dumpmodule.log
args=$${args:-"--log-file --update-only=dumpversion --report-failed"}; \
$(RUNPIKE) -x dump $$args \
$(FINAL_PIKE) -x dump $$args \
--recursive "$(SYSTEM_MODULE_PATH)/$(MODDIR)$(MODNAME).pmod"
dump_local_module: install
-rm -f dumpmodule.log
args=$${args:-"--log-file --update-only=dumpversion --report-failed"}; \
$(RUNPIKE) -x dump $$args \
$(FINAL_PIKE) -x dump $$args \
--recursive "$(LOCAL_MODULE_PATH)/$(MODDIR)$(MODNAME).pmod"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment