[decnum-dynpmcs] r179 committed - Make the configuration of decTest a command line option of Configure.p...

1 view
Skip to first unread message

codesite...@google.com

unread,
Aug 27, 2009, 7:03:17 PM8/27/09
to decnum-...@googlegroups.com
Revision: 179
Author: arbelo
Date: Thu Aug 27 16:02:22 2009
Log: Make the configuration of decTest a command line option of
Configure.pl (default OFF). There's no need to configure this for everyone.


http://code.google.com/p/decnum-dynpmcs/source/detail?r=179

Modified:
/trunk/Configure.pl
/trunk/cfg/Makefile.in

=======================================
--- /trunk/Configure.pl Tue Jul 28 17:55:27 2009
+++ /trunk/Configure.pl Thu Aug 27 16:02:22 2009
@@ -12,6 +12,8 @@

perl Configure.pl --parrot_config=<path_to_parrot>

+ perl Configure.pl --dectest
+
=cut

use strict;
@@ -20,8 +22,8 @@

use Getopt::Long qw(:config auto_help);

-our ( $opt_parrot_config );
-GetOptions( 'parrot_config=s' );
+our ( $opt_parrot_config, $opt_dectest );
+GetOptions( 'parrot_config=s', 'dectest' );

# Get a list of parrot-configs to invoke.
my @parrot_config_exe = $opt_parrot_config
@@ -65,8 +67,10 @@
my %makefiles = (
'cfg/Makefile.in' => 'Makefile',
'cfg/src/pmc/Makefile.in' => 'src/pmc/Makefile',
- 'aux/decTest/cfg/Makefile.in' => 'aux/decTest/Makefile',
);
+ if ($opt_dectest) {
+ $makefiles{'aux/decTest/cfg/Makefile.in'} = 'aux/decTest/Makefile';
+ }
my $build_tool = $config{libdir} . $config{versiondir}
. '/tools/dev/gen_makefile.pl';

=======================================
--- /trunk/cfg/Makefile.in Tue Jul 28 19:10:08 2009
+++ /trunk/cfg/Makefile.in Thu Aug 27 16:02:22 2009
@@ -74,8 +74,6 @@
@echo "Testing:"
@echo " test: Run the test suite."
@echo " testclean: Clean up test results."
- @echo " dectest: Build the decTest helper tool."
- @echo " dectest-clean: Clean up decTest files."
@echo ""
@echo "Cleaning:"
@echo " clean: Basic cleaning up."
@@ -85,12 +83,6 @@
@echo " help: Print this help message."
@echo ""

-dectest: pmc
- $(MAKE) aux/decTest
-
-dectest-clean:
- $(MAKE) aux/decTest clean
-
test: pmc
$(PERL) t/harness

@@ -106,11 +98,11 @@
testclean:
$(RM_F) $(TEST_CLEANUPS)

-clean: dectest-clean
+clean:
$(MAKE) $(PMC_DIR) clean
$(RM_F) $(TEST_CLEANUPS) $(BUILD_CLEANUPS)

-realclean: dectest-clean
+realclean:
$(MAKE) $(PMC_DIR) realclean
$(RM_F) $(TEST_CLEANUPS) $(BUILD_CLEANUPS) Makefile aux/decTest/Makefile

Reply all
Reply to author
Forward
0 new messages