Skip to content

Commit

Permalink
run t/87-xs-cross.t against PAR 1.020
Browse files Browse the repository at this point in the history
  • Loading branch information
rschupp committed Feb 11, 2024
1 parent 38a87d0 commit 629f6e9
Show file tree
Hide file tree
Showing 25 changed files with 5,692 additions and 23 deletions.
41 changes: 18 additions & 23 deletions t/87-xs-cross.t
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ my @checks = (
},
);

plan tests => 8 + 7 * @checks;
plan tests => 2 * 4 + 7 * @checks + 6; # XXX +6


# get $(MAKE) from the toplevel Makefile
Expand Down Expand Up @@ -106,38 +106,33 @@ diag("FOO PERL5LIB = $ENV{PERL5LIB}"); # XXX
my $cwd = getcwd();
my ($exe, $out, $err);

# build and install XSQuux
diag("build and install XSQuux");
chdir(catdir($cwd, qw(t data XSQuux))) or die "can't chdir to XSQuux source: $!";
run_ok($^X, "Makefile.PL", "INSTALL_BASE=$base");
run_ok($make);
run_ok($make, "install");
run_ok($make, "clean");
show_tree($base); # XXX
show_dlls($base, "XSQuux"); # XXX

# build and install XSBar
# (XSBar.xs.dll should link to XSQuux.xs.dll)
diag("build and install XSBar");
chdir(catdir($cwd, qw(t data XSBar))) or die "can't chdir to XSBar source: $!";
run_ok($^X, "Makefile.PL", "INSTALL_BASE=$base");
run_ok($make);
run_ok($make, "install");
run_ok($make, "clean");
show_tree($base); # XXX
show_dlls($base, "XSBar"); # XXX
foreach my $mod (qw(PAR XSQuux XSBar))
{
diag("build and install $mod");
chdir(catdir($cwd, qw(t data), $mod)) or die "can't chdir to $mod source: $!";
run_ok($^X, "Makefile.PL", "INSTALL_BASE=$base");
run_ok($make);
run_ok($make, "install");
run_ok($make, "clean");
next if $mod eq "PAR"; # XXX
show_tree($base); # XXX
show_dlls($base, $mod); # XXX
}

chdir($cwd) or die "can't chdir back to build dir: $!";

# first round: run code
($out, $err) = run_ok($^X, '-E', 'use PAR; print $PAR::VERSION;'); # XXX
is($out, "1.020", "check PAR version"); # XXX

# first round: run code (2 checks)
foreach (@checks)
{
diag(qq[running "$_->{code}"...]);
($out, $err) = run_ok($^X, "-e", $_->{code});
is($out, $_->{exp}, "check output");
}

# second round: pack code and run it twice
# second round: pack code and run it twice (5 checks)
foreach (@checks)
{
diag(qq[packing "$_->{code}"...]);
Expand Down
150 changes: 150 additions & 0 deletions t/data/PAR/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
Here is a list of people and their CPAN id, extracted from the Changes
file and the mailing list archives. These people have either submitted
patches or suggestions, or their bug reports or comments have inspired
the appropriate patches.

Note that this list applies to both PAR and the now separate PAR-Packer
distribution.

Corrections, additions, deletions welcome:

Abe Timmerman (ABELTJE)
Abhijit Menon-Sen (AMS)
Adam Kennedy (ADAMK)
Alan Stewart
Alan Teague
Alasdair Allan (AALLAN)
Alexey Borzenkov
Alvin Belden
Andrew Lee
Andy Balaam
Andy Lester (PETDANCE)
Antti Lankila
Arthur Bergman (ABERGMAN)
Ask Bjoern Hansen (ABH)
Barrie Slaymaker (RBS)
Barry Jaspan
Bill Atkins (BATKINS)
Brad Elliott
Brigitte Jellinek
Bruce Winter
Chia-Liang Kao (CLKAO)
Chip Salzenberg (CHIPS)
Chris Dolan (CDOLAN)
Chris Williams
Christian Schiefer
Clayton O'Neill (CMO)
Corey Goldberg
Cosimo Streppone (COSIMO)
D. Menzel
Daniel Cohen-Laroque
Daniel Shane (DSHANE)
Darek Adamkiewicz (DADAMK)
David Dyck
David Romano
Doug Gruber
Doug Miles
Edward S. Peschko
Edward Wildgoose
Eric Paulson
Eric Wilhelm
Gaal Yahas (GAAL)
Gabor Szabo (SZABGAB)
Gerald Richter (GRICHTER)
Germain Garand (GGARAND)
Glenn Mabbutt
H. Wade Minter
Henrique Dias (HDIAS)
Hirosi Taguti
Iain Cass
Iain Truskett (SPOON)
Ilya Zakharevich (ILYAZ)
Indy Singh
Ivan Kudryavtsev
James Muir
Jan Dubois (JDB)
Jeff Goff (JGOFF)
Jerrad Pierce
Jerry Veldhuis
Jesse Schoch
Jesse Vincent (JESSE)
Jody Belka (KNEW)
Johan Lindstroem (JOHANL)
Johannes Lode
John McMahon
John Siracusa (JSIRACUSA)
Jonathan Leffler (JOHNL)
Joseph Landman
Jouke Visser (JOUKE)
Karl Forner
Kieran J Broadfoot
Lindsay Morris
Luc Willems
Malcolm Nooning
Marcus Ramberg (MRAMBERG)
Mark Dootson (MDOOTSON)
Mark Shelor (MSHELOR)
Markus Jansen
Martin Fabiani
Martin Hosken (MHOSKEN)
Matt Sergeant (MSERGEANT)
Matthew Andersen
Matthew Braid (MDBGRIZ)
Matthew Riedel
Mattia Barbon (MBARBON)
Michael Goldberger
Michael Schilli (MSCHILLI)
Mike Campbell
Mike Stok (MIKESTOK)
Morbus Iff
Murat Uenalan (MUENALAN)
Nadim Ibn Hamouda El Khemir (NKH)
Nathan Byrd (NBYRD)
Ned Konz (NEDKONZ)
Nicholas Clark (NWCLARK)
Nicolas FROMENT
Niko Tyni
Nomota KIM
Paritosh Tyagi
Paul Miller
Peter Klewinghaus
Patrice Parmentier
Patrick Whitney
Phil Sallee
Piotr Martyniuk
PodMaster (PODMASTER)
Rafael Garcia-Suarez (RGARCIA)
Randal L. Schwartz (MERLYN)
Randy Carpenter
Randy W. Sims (RANDYS)
Reini Urban
Richard Soderberg (RSOD)
Rick Fitzsimmons
Rob Casey (ROBAU)
Robert Allerstorfer
Robert Creager (RCREAGER)
Robert Wyrick
Roderich Schupp (RSCHUPP)
Rong-En Fan
Ryan Briones
Sascha Wuestemann
Scott Stanton
Sim Lim Hai
Simon Andrews
Simon Cozens (SIMON)
Sisyphus
Steffen Mueller (SMUELLER)
Stephen Pick
Steve Hay (SHAY)
Steven Mackenzie
Thomas Loo (TLOO)
Thomas Rush
Tim Conrow
Tina Mueller (TINITA)
Tom Pollard
Tommy Butler
Ton Hospel (THOSPEL)
TP Diffenbach
Uri Guttman (URI)
Vincent Ladeuil
Vladimir Yu. Tereshchenko
Loading

0 comments on commit 629f6e9

Please sign in to comment.