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

Fwd: Re: HYPHY and tests



Hi again,

Hi!

On Fri, 5 Jul 2019 at 15:15, Saira Hussain <saira.h0213@zoho.com <mailto:saira.h0213@zoho.com>> wrote:


    Part 1 - Exploring HYPHYGTEST

    My first step was to replicate some of the test suites inside Hyphy. In
    order to do that I copied the SimpleAnalysis suite inside the tests and
    configured them to run through autobuild.


There is no need to replicate files that are already inside the source package. From this source, we are building three binary packages [1] and one of them [2] contains all the files, you need for the tests. Just add into run-unit-test a line to copy them to you temporary testing directory.

Good luck,
Liubov

[1] https://packages.debian.org/en/source/sid/hyphy
[2] https://packages.debian.org/sid/all/hyphy-common/filelist
Actually this comment of yours was extremely helpful as now my first test suite is succeeding! The reason of my struggle the last two days was that I didn't understand this: that actually it's more than one binaries/packages.

If I understand correctly now, the way to see this is through debian/control. But how I can judge where the files are and what's the best way to use those files in tests in a new package?


--
Thanks
SH


Reply to: