Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.005_61 make test differs from "./perl harness" #677

Closed
p5pRT opened this issue Oct 4, 1999 · 2 comments
Closed

5.005_61 make test differs from "./perl harness" #677

p5pRT opened this issue Oct 4, 1999 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Oct 4, 1999

Migrated from rt.perl.org#1566 (status was 'resolved')

Searchable as RT1566$

@p5pRT
Copy link
Author

p5pRT commented Oct 4, 1999

From tromp@sanger.med.wayne.edu

  This is simply a preliminary note to indicate that "make test"
generated a failure for pragma/warning whereas "./perl harness" in the t
directory did not. The build was for a threaded perl with no multiplicity.
The difference may thus be related to the threading and that the second,
non-simultaneous invocation of perl did not experience the same problem.
Due to the warnings about gcc, I first built perl 5.005_62 with Sun's cc
compiler version 4.2. A subsequent build with gcc (egcs-2.91.66) with the
same configuration other than compiler and flags, passed "make test"

  I have appended details below.

Gerard
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Gerard Tromp, Ph.D.
CMMG, Wayne State University vox​: 313-577-8773
3116, Scott Hall fax​: 313-577-5218
540 E Canfield Ave e-mail​: tromp@​sanger.med.wayne.edu
Detroit, MI 48201 gtromp@​cmb.biosci.wayne.edu

Details​:
Platform​: SparcStation 20
OS​: Solaris 2.5.1
compiler​: Sun C compiler version 4.2 i
  _or_
  egcs-2.91.66
threaded​: yes
multiplicity​: no
failure​:

pragma/warning......PROG​:
# mg.c
use warning 'signal' ;
if ($^O eq 'MSWin32' || $^O eq 'VMS') {
  print "SKIPPED\n# $^O, can't kill() to raise()\n"; exit;
}
$|=1;
$SIG{"INT"} = "fred"; kill "INT",$$;
EXPECTED​:
SIGINT handler "fred" not defined.
GOT​:

FAILED at test 115

stats​:

Failed 1 test script out of 211, 99.53% okay.
  ### Since not all tests were successful, you may want to run some
  ### of them individually and examine any diagnostic messages they
  ### produce. See the INSTALL document's section on "make test".
  ### If you are testing the compiler, then ignore this message
  ### and run
  ### ./perl harness
  ### in the directory ./t.
  ###
  ### Since most tests were successful, you have a good chance to
  ### get information with better granularity by running
  ### ./perl harness
  ### in directory ./t.
u=2.91 s=3.41 cu=184.73 cs=86.62 scripts=211 tests=10337
make​: *** [test] Error 1

@p5pRT
Copy link
Author

p5pRT commented Oct 4, 1999

From [Unknown Contact. See original ticket]

Greetings!

  This is simply a preliminary note to indicate that "make test"
generated a failure for pragma/warning whereas "./perl harness" in the t
directory did not. The build was for a threaded perl with no multiplicity.
The difference may thus be related to the threading and that the second,
non-simultaneous invocation of perl did not experience the same problem.
Due to the warnings about gcc, I first built perl 5.005_62 with Sun's cc
compiler version 4.2. A subsequent build with gcc (egcs-2.91.66) with the
same configuration other than compiler and flags, passed "make test"

  I have appended details below.

Gerard
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Gerard Tromp, Ph.D.
CMMG, Wayne State University vox​: 313-577-8773
3116, Scott Hall fax​: 313-577-5218
540 E Canfield Ave e-mail​: tromp@​sanger.med.wayne.edu
Detroit, MI 48201 gtromp@​cmb.biosci.wayne.edu

Details​:
Platform​: SparcStation 20
OS​: Solaris 2.5.1
compiler​: Sun C compiler version 4.2 i
  _or_
  egcs-2.91.66
threaded​: yes
multiplicity​: no
failure​:

pragma/warning......PROG​:
# mg.c
use warning 'signal' ;
if ($^O eq 'MSWin32' || $^O eq 'VMS') {
  print "SKIPPED\n# $^O, can't kill() to raise()\n"; exit;
}
$|=1;
$SIG{"INT"} = "fred"; kill "INT",$$;
EXPECTED​:
SIGINT handler "fred" not defined.
GOT​:

FAILED at test 115

stats​:

Failed 1 test script out of 211, 99.53% okay.
  ### Since not all tests were successful, you may want to run some
  ### of them individually and examine any diagnostic messages they
  ### produce. See the INSTALL document's section on "make test".
  ### If you are testing the compiler, then ignore this message
  ### and run
  ### ./perl harness
  ### in the directory ./t.
  ###
  ### Since most tests were successful, you have a good chance to
  ### get information with better granularity by running
  ### ./perl harness
  ### in directory ./t.
u=2.91 s=3.41 cu=184.73 cs=86.62 scripts=211 tests=10337
make​: *** [test] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant