[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gem2deb running tests during build



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 to: