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

Re: files in /usr/share during package build



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On ബുധന്‍ 08 ജൂലൈ 2015 09:28 വൈകു, Hleb Valoshka wrote:
> Hi team.
> 
> Some packages have data which according to policy should go 
> /usr/share/<pkgname>/. This data is usually accessed as 
> '../../../<datadir>', if I change this path to 
> '/usr/share/<pkgname>/<datadir>', then tests can't access data. If
> I change them to '../../../../../share/<pkgname>/<datadir>', then I
> use Gem2Deb::Rake::TestTask.new then tests can access data but only
> if tests use test-unit/minitest, not rspec.
> 
> RSpec::Core::RakeTask.new runs tests in build directory, so they
> can't access data copied to debian/.../usr/share/...
> 
> I have no idea how to make rspec tests working during package
> build, please suggest something.
> 
> 
Which package?

- -- 
Regards
Balasankar C
http://balasankarc.in
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCgAGBQJVnUj6AAoJEJbtq5sua3Fxp8YH/2U6DQmgAEOV2+Cv00q+fAc5
3A9AcbGDm0yf+XEqgPsZT3BJF9JLvobLFtq6QFtsSLZ6Onu4ICyxrB1ODXHiMMej
lYklB284eCBvh+TmB5CkS2gs1cpdElVHFE21rdsRa9KiHgqM6T3Udld1Z6OqAX0x
K06gijkUplkbAwZS5yF5MFCG/BFsa5RcainU4nN7ijJzbpZuso+4zd0s6oEAlX1E
fuPo6nuehKUclQ6fumMp+uWKgS8HJhA9N8N9mlYeJbMevYMeqPwW1fee3nLDZ1lm
oSahMe74/SPXX0VO4r6z3x3cxBhiaEZkRiQpzdfay9qw/JwUyP8pUTlrP/xuITk=
=lX5H
-----END PGP SIGNATURE-----

Attachment: 0x2E6B7171.asc
Description: application/pgp-keys


Reply to: