Try to skip the test , using export DH_RUBY_IGNORE_TESTS = all and checking
it in sbuild if its running well.

On Sat, Jul 7, 2018 at 2:54 AM, Samuel Henrique <samuel...@debian.org>
wrote:

> Hello,
>
> I'm working on wpscan[0], a non-free package from Kali linux which needs a
> few steps[1] before running any tests.
>
> The problem i'm facing is that when building the package, tests are being
> run before dh_auto_test, something like:
>
> Run tests for ruby2.5 from debian/ruby-tests.rb
> and then
> No such file or directory @ rb_sysopen - /sbuild-nonexistent/.wpscan/
> data/wp_versions.xml
>
> wp_versions.xml is a file shipped on data.zip.
>
> What would be the correct approach here?
>
> Thanks
>
> [0]https://salsa.debian.org/pkg-security-team/wpscan
> [1]https://salsa.debian.org/pkg-security-team/wpscan/blob/
> 5c8f15f8e509fdf6e28ae5dd5f5fd6dc187b1105/debian/rules#L17
>
> --
> Samuel Henrique <samueloph>
>

Reply via email to