aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Configure.pl3
-rw-r--r--tools/build/Makefile.in12
2 files changed, 13 insertions, 2 deletions
diff --git a/Configure.pl b/Configure.pl
index 604d015..0611b5f 100644
--- a/Configure.pl
+++ b/Configure.pl
@@ -113,6 +113,9 @@ MAIN: {
$config{backend_modules_install} = join ' ', map
{ 'modules-install-' . lc(substr $_, 0, 1) }
keys %backends;
+ $config{backend_modules_test} = join ' ', map
+ { 'modules-test-' . lc(substr $_, 0, 1) }
+ keys %backends;
$config{default_backend_exe} = '$(PERL6_' .
uc(substr $default_backend, 0, 1) .
'_INSTALL)';
diff --git a/tools/build/Makefile.in b/tools/build/Makefile.in
index 1a4928f..d3063a9 100644
--- a/tools/build/Makefile.in
+++ b/tools/build/Makefile.in
@@ -85,8 +85,16 @@ modules-install-m:
@echo "== Installing binaries for MoarVM"
$(PERL) tools/build/bin-install.pl $(PERL6_M_INSTALL) $(DESTDIR)$(MOAR_BIN_DIR) m modules/ufo/bin/ufo modules/panda/bin/panda modules/doc/bin/p6doc
-modules-test:
- $(PERL) tools/build/modules-test.pl $(CURDIR) $(DESTDIR)$(PERL6_INSTALL) modules/MODULES.txt
+modules-test: @backend_modules_test@
+
+modules-test-p:
+ $(PERL) tools/build/modules-test.pl $(CURDIR) $(DESTDIR)$(PARROT_BIN_DIR) modules/MODULES.txt
+
+modules-test-j:
+ $(PERL) tools/build/modules-test.pl $(CURDIR) $(DESTDIR)$(JVM_BIN_DIR) modules/MODULES.txt
+
+modules-test-m:
+ $(PERL) tools/build/modules-test.pl $(CURDIR) $(DESTDIR)$(PERL6_M_INSTALL) modules/MODULES.txt
install: rakudo-install modules-install