Hi Faust,
So, adding cmake as Build-Depends is not sufficient and I have no idea how to clone the test repo during the build to make gbp happy. Can you
tell me how you would proceed with the debian/rules file.
I've a couple of ideas to run tests. First off, so we are on the same page, the
build/tests etc (process till creation of .deb) have to happen offline, so
doing a clone during build is not possible.
So there are two workarounds:
a) If the size of test repository is not very huge, you could download that,
and simply copy it to the debian/ directory, and before the build starts, you
could do something like:
execute_before_dh_auto_test:
mv debian/<your-test-dir> <the-build-dir>
so that tests are run.
b) If the size is large, or, you like this options -- you could modify d/watch,
and use multi-orig upstream tarballs. This basically means getting multiple
tarball sources
and embedding the test data.
We do this in med-team
I cannot find good links for it directly, but you could refer these[1,2,3]
Let me know if you need more help
[1]: https://wiki.debian.org/Javascript/GroupSourcesTutorial
[2]: https://med-team.pages.debian.net/policy/#embedding-large-test-data
[3]:
https://raphaelhertzog.com/2010/09/07/how-to-use-multiple-upstream-tarballs-in-debian-source-packages/
Nilesh
OpenPGP_0x00BAE74B343369F1.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
