~pwlars/lava-test/optparse

« back to all changes in this revision

Viewing changes to abrek/config.py

  • Committer: Paul Larson
  • Date: 2010-06-28 15:59:07 UTC
  • mfrom: (4.2.10 abrek-install)
  • Revision ID: paul.larson@canonical.com-20100628155907-uq2qbfoc3oggrbr2
Add support for installing tests.  Specifically, this lets you:
 * defining tests
 * defining install steps for a test
 * downloading tests and checking md5sums
 * installing dependencies
 * example provided as well

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
                     os.path.join(home, '.config'))
8
8
        basedata = os.environ.get('XDG_DATA_HOME',
9
9
                     os.path.join(home, '.local', 'share'))
10
 
        basecache = os.environ.get('XDG_CACHE_HOME',
11
 
                     os.path.join(home, '.cache'))
12
10
        self.configdir = os.path.join(baseconfig, 'abrek')
13
11
        self.installdir = os.path.join(basedata, 'abrek', 'installed-tests')
14
 
        self.downloaddir = os.path.join(basecache, 'abrek', 'download')
15
12
        self.resultsdir = os.path.join(basedata, 'abrek', 'results')
16
13