opened
dod38fr
username_0
Hello

Debian runs non-regression tests using the binaries of an installed package. I.e. during these tests, the command `prove  -e nqp t/[chmnpqs]*` in run in freshly checked out nqp repository.

`prove` command hangs on `nqp t/nqp/114-pod-panic.t`. This script launches a nqp subprocess using `./nqp-m` . Sicne this test is run in a source directory without building, the `nqp-m` file is not present. Unfortunately, the test hangs in this setup.

I would expect this script to exit on error when `./nqp-,` is missing. 

See [Debian bug 900230](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900230) for more context.

All the best
nqp t/nqp/114-pod-panic.t hangs
issue
created
W4anD0eR96
username_1
@username_2  how `nqp::spawnprocasync` works on this situation?  where async proc fails and cur hanging.
comment
created
jnthn
username_2
`nqp::procasync` calls the `error` callback, and also sends error notifications to any stdout/stderr/merge callbacks too. It seems that unlike `Proc::Async` in Rakudo, which [sets up an error callback](https://github.com/rakudo/rakudo/blob/master/src/core/Proc/Async.pm6#L318), the `run-command` in NQP [does not](https://github.com/perl6/nqp/blob/master/src/core/testing.nqp#L76).
comment
closed
jnthn
username_2
issue