Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12369

Questions about including tests/ directory into package

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Sao I Kuan <saoikuan@gmail.com>
Newsgroups linux.debian.maint.python
Subject Questions about including tests/ directory into package
Date Thu, 19 Mar 2020 07:30:02 +0100
Message-ID <zLWQO-zz-3@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Mar 19 06:22:32 2020
Old-Return-Path <saoikuan@gmail.com>
X-Amavis-Spam-Status No, score=-4.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, GMAIL=1, LDO_WHITELIST=-5, MEDS2=2, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Hpm/ZQdXGKendro1AyLTYEMfeLFv3u3FY+dmEl/syGw=; b=OLvbSFC1mCCtY3w3gLoXs72nQZvzCQ7wdRU1Geb0bP90U0riH1DT4h9nEZZrqc0UMc pS93TCBnDC+JZ6dCHu6xItqakdUwjkXO+Psst7l+rR1wPBQFW5VubxoenyWefC/vcJy+ a6wsL3wOW6JwSxoJtaM9dlO9Jrv6n6q6dhJRlTXr+cTqPNzHTeLoVJNNB3ETUwTPR4eU /H+72ItmSkswIHqwp7/qRCpRoacbsfFiczb26GMektoutXxlN5arNUF5OJHNK3N8o+jw blOoI4Lg9rroyRUTWEQn35wVilC/f9FPel9uu8ty7v4MRBq8vpbX23x6aZuq98esGW39 4iOg==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Hpm/ZQdXGKendro1AyLTYEMfeLFv3u3FY+dmEl/syGw=; b=hJb5o3A0LriwfR6PHpUdfw9WVhXYuVAAwBldTOgkj2mLIblGe8weg2XFbnqH13do5d ffRAaqvCdvD5VTNpwtG+mByiYmTNXcUgMgDhhIExvqzo1Ovd5MKRHzDjhs6v4kDr4qQQ AiX++kgAC9YXsXmAliohzhM2kFqWrIQ5BD0fMhu+pE7ycEhiyM84Dp1K7xxGz6ydJyg5 WG1az2ZDrAXOrA53tfIuUWcwN8vcX+yuP18xJGZZB1+qkYuWLl0MkUTeBtgyY3uMn947 Ojyp9YkraoXtTfBPV38QVpNYEkzCTlGGkAkrw4XRcG0zQbbqD9cqPTn/1ESdloIrBoRO 9Zag==
X-Gm-Message-State ANhLgQ0yPbUj34K6zfZRj+uaYCsHQ10pj0VxtxeIeVyEmz+OwBPtaeff NA/qZGIq8VDponC387B0OVxQEQgXZ+ZL/pEo1+wyx1NA
X-Google-SMTP-Source ADFU+vu2QcunaXrIIp9dGaVDclOdFu5Kq0xKETw0RqP0FmaEAvGO8Yn5So1OWopPtJ07jfLIcZ1KKDW1+N+GyXOQ0+k=
X-Received by 2002:a67:ee81:: with SMTP id n1mr897219vsp.184.1584598936768; Wed, 18 Mar 2020 23:22:16 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18013
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAGzOMC8pnRLnB=RSxKmKAJzGrzDpYA1dfuapW7=p6JCMTxNQ=g@mail.gmail.com
Approved robomod@news.nic.it
Lines 28
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 19 Mar 2020 15:22:06 +0900
X-Original-Message-ID <CAGzOMC8pnRLnB=RSxKmKAJzGrzDpYA1dfuapW7=p6JCMTxNQ=g@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:12369

Show key headers only | View raw


Hi,

I'm newcomer to Debian packaging, and trying to add the autopkgtest
test script into python-tinyalign[1].

    [1] https://salsa.debian.org/med-team/python-tinyalign

And now I'm facing a (maybe simple) problem.

The upstream test files are located in tests/ directory, but seems
this directory is excluded during packaging.
I have no idea how to include this tests/ directory.

1. Please let me know is there any variable for including the specific
file/directory.
2. Why and when the tests/ directory excluded? I tried to find the
logic in dh-python [2], but failed.

    [2] https://salsa.debian.org/python-team/tools/dh-python

3. Is this a correct approach for including the excluded test materials?

Always appreciates.

Sincerely,

Sao I Kuan
saoikuan@gmail.com

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Questions about including tests/ directory into package Sao I Kuan <saoikuan@gmail.com> - 2020-03-19 07:30 +0100
  Re: Questions about including tests/ directory into package Diane Trout <diane@ghic.org> - 2020-03-19 19:00 +0100
    Re: Questions about including tests/ directory into package Sao I Kuan <saoikuan@gmail.com> - 2020-03-20 12:30 +0100
  Re: Questions about including tests/ directory into package Sandro Tosi <morph@debian.org> - 2020-03-21 00:50 +0100

csiph-web