Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove '--running-make-test' in all its spellings per http://trac.par…

  • Loading branch information...
commit 90c3e01d3ce8456f3ffb697bd18e7c8589e1875b 1 parent c9cff6c
jkeenan authored
View
4 config/gen/makefiles/root.in
@@ -1887,9 +1887,7 @@ editor-clean :
#
###############################################################################
-# The --running-make-test argument is currently used by long-running tests
-# to disable GC_DEBUG.
-EXTRA_TEST_ARGS := --gc-debug --running-make-test
+EXTRA_TEST_ARGS := --gc-debug
DISTRO_TEST_FILES := \
t/distro/*.t
BENCHMARK_TEST_FILES := \
View
2  docs/intro.pod
@@ -145,7 +145,7 @@ Parrot has an extensive regression test suite. This can be run by typing:
Substituting make for the name of the make program on your platform. The output
will look something like this:
- C:\Perl\bin\perl.exe t\harness --gc-debug --running-make-test
+ C:\Perl\bin\perl.exe t\harness --gc-debug
t\library\*.t t\op\*.t t\pmc\*.t t\run\*.t t\native_pbc\*.t
imcc\t\*\*.t t\dynpmc\*.t t\p6rules\*.t t\src\*.t t\perl\*.t
t\library\dumper...............ok
View
4 lib/Parrot/Harness/Options.pm
@@ -28,9 +28,6 @@ sub handle_long_options {
my @argv = @_;
my %longopts;
- $longopts{running_make_test} = grep { $_ eq '--running-make-test' } @argv;
- @argv = grep { $_ ne '--running-make-test' } @argv;
-
$longopts{gc_debug} = grep { $_ eq '--gc-debug' } @argv;
@argv = grep { $_ ne '--gc-debug' } @argv;
@@ -130,7 +127,6 @@ perl t/harness [options] [testfiles]
-r ... assemble to PBC run PBC
-O[012] ... optimize
-D[number] ... pass debug flags to parrot interpreter
- --running-make-test
--gc-debug
--core-tests
--runcore-tests
View
6 t/harness
@@ -31,8 +31,6 @@ use Parrot::Harness::Smoke qw(
local @ARGV = @ARGV;
(my $longopts, @ARGV) = handle_long_options(@ARGV);
-$ENV{RUNNING_MAKE_TEST} = $longopts->{running_make_test};
-
# Suck the short options into the TEST_PROG_ARGS
# environmental variable.
my %opts;
@@ -189,10 +187,6 @@ There are also long command line options:
=over 4
-=item C<--running-make-test>
-
-Some test scripts run more quickly when this is set.
-
=item C<--gc-debug>
Invoke parrot with '--gc-debug'.
View
4 t/pharness/03-handle_long_options.t
@@ -13,7 +13,7 @@ eval {
};
plan( skip_all => 't/harness only runs once configuration has completed' )
if $@;
-plan( tests => 12 );
+plan( tests => 11 );
use Carp;
use Parrot::Harness::Options qw( handle_long_options );
@@ -22,13 +22,11 @@ my %still_argv;
@argv = qw(
-wv
-O2
- --running-make-test
--gc-debug
t/postconfigure/*.t
); # */
($longopts, @argv) = handle_long_options(@argv);
-ok($longopts->{running_make_test}, "Captured long option");
ok($longopts->{gc_debug}, "Captured long option");
%still_argv = map {$_, 1} @argv;
ok($still_argv{'-wv'}, "Combined short options still present in \@ARGV");
Please sign in to comment.
Something went wrong with that request. Please try again.