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

Re: Autopkgtest failures



* Rafael Laboissière <rafael@debian.org> [2018-05-05 09:52]:

Autopkgtest is failing octave-symbolic [1] because the environment variable DH_OCTAVE_EXCLUDE_TEST controlling the behavior of dh_octave_check (defined in d/rules) is not taken into account.

I committed a change do dh-otave [2] to cope with this situation. The dh_octave_check script will now source the debian/checkvars file (if it exists) before running the unit tests. So, instead of having this in d/rules:

export DH_OCTAVE_EXCLUDE_TEST = sympref.m ezplot.m ezplot3.m

we should have a d/checkvars file containing this:

DH_OCTAVE_EXCLUDE_TEST="sympref.m ezplot.m ezplot3.m"

The environment variable will then be set both at build time and at CI time.

Is this change okay with you? Should we use another technique or another file name instead of d/checkvars?

Ok, I went ahead and uploaded version 0.5.0 of dh-octave to unstable. I bumped the minor version number to indicate the addition of the new feature (sourcing of d/checkvars). I will soon upload octave-symbolic 2.6.0-4 that will take advantage of the new feature in dh-octave and should fix the CI autopkgtest failure.

Rafael


Reply to: