autopkgtest test cases for libestr

Bug #1117222 reported by Vibhav Pant
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libestr (Debian)
Fix Released
Unknown
libestr (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

The DEP 8 specification defines how automatic testing can very easily be integrated into packages.
I have created test cases for libestr and attached them as a debdiff.

Revision history for this message
Vibhav Pant (vibhavp) wrote :
Revision history for this message
Vibhav Pant (vibhavp) wrote :
Revision history for this message
Vibhav Pant (vibhavp) wrote :

< jibel> vibhav, the test exit 1 but there is no output at all and don't know which function call failed.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your contribution.

There are a few fixes to bring to your patch:
- in debian/test/control: you'll need a test dependency on pkg-config since it's required to build the test script executable.
- in debian/build:
  - line 60: typo, it's pkg-config instead of pkg=config
  - line 60: what you want are backquotes intead of single quotes. backquotes are used for command substitution rather than for quoting

Finally, the first test 'es_strbufcmp' fails.

Could you please fix and resubmit, thanks!

Changed in libestr (Ubuntu):
status: New → Incomplete
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I meant debian/tests/control debian/tests/build of course

Revision history for this message
Vibhav Pant (vibhavp) wrote :
Changed in libestr (Ubuntu):
status: Incomplete → New
Revision history for this message
Vibhav Pant (vibhavp) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I verified the latest patch and it looks good. I verified that the tests execute and pass with run-adt.

Thanks for your work!

Changed in libestr (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Thanks for your work, I went ahead and forwarded this to Debian (as this package comes from Debian unchanged). If you still want this to be uploaded as Ubuntu delta, maybe you'll try to merge 0.1.4-1 from experimental?

Changed in libestr (Debian):
status: Unknown → New
Revision history for this message
Vibhav Pant (vibhavp) wrote :

Well, I will wait for it to be uploaded to Debian then. Thanks :)

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

based on comment #10, I am removing ubuntu-sponsors, since there is nothing to sponsor at this time. Please resubscribe if this is in error or you change your mind.

Changed in libestr (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libestr - 0.1.11-1

---------------
libestr (0.1.11-1) unstable; urgency=medium

  * New maintainer (Closes: #1010434)
    - redo packaging from scratch, following current best practices
    - reintroduce autopkgtest from #700293 which was silently dropped in
      0.1.10-1, but adjust it for cross-compilation (LP: #1117222)
  * New upstream release (Closes: #912419)

 -- Florian Ernst <email address hidden> Sun, 05 Jun 2022 08:15:55 +0200

Changed in libestr (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.