diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2018-07-05 22:07:39 +0200 |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2018-07-05 22:17:59 +0200 |
commit | d65c13086776b218e1ad33c51382397ae91e58ab (patch) | |
tree | 0a84977b44c642370c1c968d4fe220f3f6c3b03e /tatt | |
parent | refactor and improve the test script (diff) | |
download | tatt-d65c13086776b218e1ad33c51382397ae91e58ab.tar.gz tatt-d65c13086776b218e1ad33c51382397ae91e58ab.tar.bz2 tatt-d65c13086776b218e1ad33c51382397ae91e58ab.zip |
add an explicit snippet for package test *-useflags.sh
Diffstat (limited to 'tatt')
-rw-r--r-- | tatt/scriptwriter.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tatt/scriptwriter.py b/tatt/scriptwriter.py index 8623104..d583278 100644 --- a/tatt/scriptwriter.py +++ b/tatt/scriptwriter.py @@ -52,9 +52,10 @@ def useCombiTestString(job, pack, config, port): # test once with tests and users flags # do this first to trigger bugs in some packages where the test suite relies on # the package being already installed - localsnippet = usesnippet.replace("@@USE@@", "") - localsnippet = localsnippet.replace("@@FEATURES@@", "FEATURES=\"${FEATURES} test\"") - s = localsnippet + usetestsnippet = scriptTemplate(job, config, "use-test-snippet") + usetestsnippet = usetestsnippet.replace("@@CPV@@", pack.packageString() ) + usetestsnippet = usetestsnippet.replace("@@FEATURES@@", "FEATURES=\"${FEATURES} test\"") + s = usetestsnippet.replace("@@USE@@", "") usecombis = findUseFlagCombis (pack, config, port) for uc in usecombis: |