chiark / gitweb /
use _ rather than * as placeholder for this package in depends
authorIan Jackson <ian@anarres>
Wed, 21 Feb 2007 14:45:14 +0000 (14:45 +0000)
committerIan Jackson <ian@anarres>
Wed, 21 Feb 2007 14:45:14 +0000 (14:45 +0000)
runner/adt-run

index 665038e6892ac5290d6d597ef9093ec9fbf0cf37..a31862c1e3cfac81ff8c38b01aae706a176f77e5 100755 (executable)
@@ -946,12 +946,12 @@ class Test:
        dn = []
        for d in t.depends:
                t._debug(' processing dependency '+d)
-               if not '*' in d:
+               if not '_' in d:
                        t._debug('  literal dependency '+d)
                        dn.append(d)
                else:
                        for (pkg,bin) in t.act.binaries:
-                               d = d.replace('*',pkg)
+                               d = d.replace('_',pkg)
                                t._debug('  synthesised dependency '+d)
                                dn.append(d)
        testbed.prepare(dn)
@@ -1065,7 +1065,7 @@ def read_control(act, tree, control_override):
                        base = {
                                'restrictions': [],
                                'testsdir': 'debian/tests',
-                               'depends' : '*'
+                               'depends' : '_'
                        }
                        for fname in stz.keys():
                                if fname.startswith(' '): continue