Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reposition parrot_test_run.tar.gz in a subdirectory (t/archive) so it…

… can be safely decompressed and untarred.
  • Loading branch information...
commit 595bffecf71c5d5e87842fcbaad6c795e7ed19d3 1 parent f7b8d31
James E Keenan jkeenan authored
2  .gitignore
View
@@ -77,7 +77,6 @@ cachegrind.out.*
/parrot_nci_thunk_gen
/parrot_nci_thunk_gen.c
/parrot_nci_thunk_gen.pbc
-/parrot_test_run.tar.gz
/parrot_old
/pbc_disassemble
/pbc_dump
@@ -361,6 +360,7 @@ cachegrind.out.*
/src/string/charset/*.obj
/src/string/encoding/*.o
/src/string/encoding/*.obj
+/t/archive/parrot_test_run.tar.gz
/t/benchmark/*.pasm
/t/benchmark/*.pir
/t/compilers/data_json/*.pbc
4 MANIFEST.SKIP
View
@@ -410,8 +410,6 @@
^/parrot_nci_thunk_gen\.pbc/
^/parrot_old$
^/parrot_old/
-^/parrot_test_run\.tar\.gz$
-^/parrot_test_run\.tar\.gz/
^/pbc_disassemble$
^/pbc_disassemble/
^/pbc_dump$
@@ -808,6 +806,8 @@
^/src/string/encoding/.*\.obj/
^/src/string/private_cstring\.h$
^/src/string/private_cstring\.h/
+^/t/archive/parrot_test_run\.tar\.gz$
+^/t/archive/parrot_test_run\.tar\.gz/
^/t/benchmark/.*\.pasm$
^/t/benchmark/.*\.pasm/
^/t/benchmark/.*\.pir$
2  config/gen/makefiles/root.in
View
@@ -2476,7 +2476,7 @@ test-clean :
"test$(EXE)" \
"test.*"
$(RM_F) \
- "parrot_test_run.tar.gz" \
+ "t/archive/parrot_test_run.tar.gz" \
".pod_examinable*.sto"
# a failing step of cleaning, usually doesn't concern the following steps
2  examples/io/post.pir
View
@@ -27,7 +27,7 @@
push contents, 'report_file'
$P0 = new 'FixedStringArray'
set $P0, 1
- $P0[0] = 'parrot_test_run.tar.gz'
+ $P0[0] = 't/archive/parrot_test_run.tar.gz'
push contents, $P0
load_bytecode 'LWP/UserAgent.pir'
.const string url = 'http://smolder.parrot.org/app/projects/process_add_report/1'
2  lib/Parrot/Harness/Smoke.pm
View
@@ -96,7 +96,7 @@ my %SMOLDER_CONFIG = (
username => 'parrot-autobot',
password => 'qa_rocks',
project_id => 1,
- report_file => ['parrot_test_run.tar.gz'],
+ report_file => ['t/archive/parrot_test_run.tar.gz'],
);
# language implementations must pass their respective project id
4 t/archive/README
View
@@ -0,0 +1,4 @@
+README for directory t/archive/
+
+This directory exists to have a location for temporary storage of a tarball
+created by t/harness or t/fullharness.
2  t/fullharness
View
@@ -74,7 +74,7 @@ if ($archive) {
my %env_data = collect_test_environment_data();
my $archive = TAP::Harness::Archive::MultipleHarnesses->new( {
verbosity => $ENV{HARNESS_VERBOSE},
- archive => 'parrot_test_run.tar.gz',
+ archive => 't/archive/parrot_test_run.tar.gz',
merge => 1,
jobs => $ENV{TEST_JOBS} || 1,
extra_properties => \%env_data,
2  t/harness
View
@@ -77,7 +77,7 @@ if ($longopts->{archive}) {
$harness = TAP::Harness::Archive->new(
{
verbosity => $ENV{HARNESS_VERBOSE},
- archive => 'parrot_test_run.tar.gz',
+ archive => 't/archive/parrot_test_run.tar.gz',
merge => 1,
extra_properties => \%env_data,
extra_files => [ 'myconfig', 'config_lib.pir' ],
4 t/harness.pir
View
@@ -68,7 +68,7 @@ HELP
goto L3
L2:
harness = new ['TAP';'Harness';'Archive']
- harness.'archive'('parrot_test_run.tar.gz')
+ harness.'archive'('t/archive/parrot_test_run.tar.gz')
options['merge'] = 1
.local pmc env_data
env_data = collect_test_environment_data()
@@ -379,7 +379,7 @@ TEST
push contents, 'report_file'
$P0 = new 'FixedStringArray'
set $P0, 1
- $P0[0] = 'parrot_test_run.tar.gz'
+ $P0[0] = 't/archive/parrot_test_run.tar.gz'
push contents, $P0
load_bytecode 'LWP/UserAgent.pir'
.const string url = 'http://smolder.parrot.org/app/projects/process_add_report/1'
5 tools/dev/resubmit_smolder.pl
View
@@ -10,7 +10,7 @@
send_archive_to_smolder
);
-my $tarball = 'parrot_test_run.tar.gz';
+my $tarball = 't/archive/parrot_test_run.tar.gz';
die "Could not locate $tarball" unless (-f $tarball);
send_archive_to_smolder(collect_test_environment_data());
@@ -30,7 +30,8 @@ =head1 DESCRIPTION
transmission of that tarball failed.
The command should be run from the top-level of your checkout of Parrot. It
-will fail if no file named F<parrot_test_run.tar.gz> exists in that directory.
+will fail if no file named F<t/archive/parrot_test_run.tar.gz> exists in that
+directory.
=head1 AUTHOR
Please sign in to comment.
Something went wrong with that request. Please try again.