QFINDTESTDATA uses __FILE__

Ximin Luo infinity0 at debian.org
Mon Nov 13 17:44:00 UTC 2017


Ximin Luo:
> Ximin Luo:
>> [..]
>>
>> (maybe there are other options)
>>
> 
> If all the test files reside underneath the same directory, like tests/, you could:
> 
> 4. export BUILD_PATH_PREFIX_MAP="$BUILD_PATH_PREFIX_MAP=tests=$BASEDIR/tests".
> 

Argh, I mean of course:

4. export BUILD_PATH_PREFIX_MAP="$BUILD_PATH_PREFIX_MAP:tests=$BASEDIR/tests".
                                                       ^
                                        colon, not equals

> This should make the tests pass, whilst keeping our "$srcpkg-$version" mapping for the non-test files.
> 
> X
> 


-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Reproducible-builds mailing list