* Jakub Wilk <jw...@debian.org>, 2014-01-26, 22:08:
The attached patch makes sadt follow this change in autopkgtest:

autopkgtest (2.5.5) unstable; urgency=medium

 [...]
 * Add support for virtual "@builddeps@" test dependency, which will be
   replaced with the package's B-D and B-D-I. Document in
   doc/README.package-tests. (Closes: #720458)

-- Martin Pitt <mp...@debian.org>  Wed, 25 Dec 2013 21:12:38 +0100

In the mean time, @builddeps@ semantics has changed:

autopkgtest (2.7.1) unstable; urgency=medium

   [...]
   * adt-run: When expanding @builddeps@, add "make" as test almost always need
     it to call "make installcheck" or similar.
   [...]

  -- Martin Pitt <mp...@debian.org>  Fri, 07 Feb 2014 14:52:42 +0100

I've attached patch to update sadt.

--
Jakub Wilk
diff --git a/scripts/sadt b/scripts/sadt
--- a/scripts/sadt
+++ b/scripts/sadt
@@ -1,7 +1,7 @@
 #!/usr/bin/python3
 # encoding=UTF-8
 
-# Copyright © 2012, 2013 Jakub Wilk <jw...@debian.org>
+# Copyright © 2012, 2013, 2014 Jakub Wilk <jw...@debian.org>
 
 # Permission to use, copy, modify, and/or distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
@@ -185,6 +185,7 @@
         for or_clause in parsed_depends:
             if len(or_clause) == 1 and or_clause[0]['name'] == '@builddeps@':
                 or_clauses += build_depends
+                or_clauses += deb822.PkgRelation.parse_relations('make')
                 continue
             stripped_or_clause = [r for r in or_clause if r['name'] != '@']
             if len(stripped_or_clause) < len(or_clause):
diff --git a/scripts/sadt.pod b/scripts/sadt.pod
--- a/scripts/sadt.pod
+++ b/scripts/sadt.pod
@@ -64,7 +64,7 @@
 
 =head1 CONFORMING TO
 
-README.package-tests shipped by autopkgtest 2.6
+README.package-tests shipped by autopkgtest 2.7.2
 
 =head1 SEE ALSO
 

Reply via email to