[Pkg-javascript-devel] Bug#1137067: Bug#1137067: quickjs-ng FTBFS on hurd buildds

Stéphane Glondu glondu at debian.org
Tue May 19 14:27:38 BST 2026


Control: tags -1 + patch

On Tue, 19 May 2026 11:42:44 +0200 =?UTF-8?B?SsOpcsOpbXkgTGFs?= 
<kapouer at melix.org> wrote:
> The failure is
> ../tests/test_std.js:279: Error: assertion failed: got |0|, expected |15|
> and comes from the last assertion in that test:
> 
>     pid = os.exec(["cat"], { block: false } );
>     assert(pid >= 0);
>     os.kill(pid, os.SIGTERM);
>     [ret, status] = os.waitpid(pid, 0);
>     assert(ret, pid);
>     // Flaky on cygwin for unclear reasons, see
>     // https://github.com/quickjs-ng/quickjs/issues/184
>     if (!isCygwin) {
>         assert(status & 0x7f, os.SIGTERM);
>     }
> 
> So it probably is just a flaky test.
I thought as much, and prepared the attached patch. But since I cannot 
reproduce the failure, I cannot meaningfully test it...


Cheers,

-- 
Stéphane
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avoid-flaky-test-on-hurd.patch
Type: text/x-patch
Size: 812 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20260519/95442ee8/attachment.bin>


More information about the Pkg-javascript-devel mailing list