[Pkg-javascript-devel] Bug#930963: node-d3-queue autopkgtest failure because of not copying entire source tree

Xavier yadd at debian.org
Sun Jun 23 17:20:06 BST 2019


Le 23/06/2019 à 18:04, Pirate Praveen a écrit :
> package: pkg-js-tools
> version: 0.5
> severity: important
> 
> 
> In node-d3-queue salsa master, autopkgtest is failing. This is because
> the tests expects more files than 'test' directory to be present
> locally. In gem2deb, only lib directory is renamed to force using
> installed library. I think the same strategy can be used (remove only
> package.json#main).
> 
> # Copy test files
> Launch debian/tests/pkg-js/test with sh
> TAP version 13
> # example queue of fs.stat
> not ok 1 should be equal
>  ---
>    operator: equal
>    expected: |-
>      null
>    actual: |-
>      { [Error: ENOENT: no such file or directory, stat
> '/tmp/autopkgtest-lxc.gksjxq9s/downtmp/autopkgtest_tmp/smoke5njYFC/test/../README.md']
> errno: -2, code: 'ENOENT', syscall: 'stat', path:
> '/tmp/autopkgtest-lxc.gksjxq9s/downtmp/autopkgtest_tmp/smoke5njYFC/test/../README.md'
> }

Hi,

you can use debian/tests/pkg-js/files to specify which files are needed
for test. See my change here:
https://salsa.debian.org/js-team/node-d3-queue/commit/0acb515

Cheers,
Xavier



More information about the Pkg-javascript-devel mailing list