Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: make test hangs

by WolliK (Acolyte)
on Feb 14, 2015 at 21:19 UTC ( [id://1116732]=note: print w/replies, xml ) Need Help??


in reply to Re: make test hangs
in thread make test hangs

Hi Khen1950fx,
it is not the script, ist is also not the prove scriptin /usr/bin, is is the APP:PROOVE witch calls some TAP functions that will not give the control back to my shell.
I've put some additional logging into the /usr/bin/prove script to see what happened. It:
- creates the $app
- processses the $app
- executes by running the app ($app->run)
- exits with the either 0 or 1 depending on the previous return value

The test script is fired up, runs and logs after the entries done by the prove run.

But the shell where I started the prove command just hangs and waits for ever even if the test script has finished successfull.
wollik

Replies are listed 'Best First'.
Re^3: make test hangs
by hotpelmen (Scribe) on Feb 16, 2015 at 03:13 UTC
    Have you tried to test with prove -v against just one little standard test script
    #!/usr/bin/perl -w use strict; use Test::More qw( no_plan ); ok(1);
    as described above to be sure that the test indeed finishes. Please do so and post the results.

      Hi hotpelmen,
      like I've allready replied, the warn messages will be not displayed because they are discharged by the test::harness. I've run it again with your script this small script also hangs.
      The problem is not the script !! is is the calling procedures within the TEST::HARNESS module, that is also used by the prove script.
      wollik

Re^3: make test hangs
by WolliK (Acolyte) on Feb 14, 2015 at 21:25 UTC

    Hi Khen1950fx,
    What do you mean by using different break keys? I fond lots of ways to break out of the opertation and get my shell back, but all these results in quit messages, so the prove or make test routines will not proceed because of the break or quit return value.
    wollik

      You don't want the shell back, but you want to unhang the test. Pause/Break for unhanging; Ctrl-C for quiting. Remember: experiment and breathe once in awhile:).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1116732]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-03-28 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found