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

Re: Build OK, Test Failed



On Tue, Mar 17, 2020 at 12:29 AM Tong Sun
<suntong001@users.sourceforge.net> wrote:
>
> On Mon, Mar 16, 2020 at 9:41 AM Tong Sun wrote:
>
> > The go package that I'm packing builds OK, but its test failed,
> > because the tests need to be run as root.
> >
> > Is it OK that I overide dh_auto_test with
> > sudo dh_auto_test
> > ?
>
> Ok, I gave it a try, with
>
> override_dh_auto_test:
>         sudo dh_auto_test
>
> but none of the existing tests are running any more.

Using

override_dh_auto_test:
        fakeroot dh_auto_test

the existing tests will run, but still failing.

Any one can help?


Reply to: