Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!telxon!ping!gorpong From: gorpong@ping.uucp (Gordon C. Galligher) Newsgroups: comp.lang.perl Subject: Re: perl 3@40 fails test lib.big Summary: when using make test, but when executing alone, it works Message-ID: <1990Nov14.140021.5953@ping.uucp> Date: 14 Nov 90 14:00:21 GMT References: <1990Nov10.230258.21946@ircam.ircam.fr> Organization: The 23rd. Century Lines: 28 In article <1990Nov10.230258.21946@ircam.ircam.fr> mf@ircam.fr (Michel Fingerhut) writes: >Setup: DECsystem 5810 > Ultrix 4.0 > > Using cc to compile perl > no optimization > undef'ed volatile > >When testing, > lib.big.........FAILED on test 51 > >Help, anyone? I have an 80386 and used the GCC 1.37 compiler (with -g -O -fpcc-struct-return) and lib.big fails on test 6, when run from "make test." If I cd t and then execute ./perl lib.big, every test comes out OK. I am confused, but it does work. I also believe that the first line of lib.big should be ./perl -x not just perl, in order to take advantage of the __END__ stuff in the file. I executed ./perl lib.big and ./perl -x lib.big and it works regardless of the -x switch. Is it a side effect that if an __END__ exists then the rest is automatically used as and the -x is not needed, or is the -x merely there to tell perl to skip to a #!perl and start executing to an __END__? -- Gordon. -- Gordon C. Galligher 9127 Potter Rd. #2E Des Plaines, IL 60016-4881 ...!uunet!telxon!teleng!ping!gorpong