~mwhudson/ubuntu/xenial/juju-core/mwhudson

« back to all changes in this revision

Viewing changes to src/launchpad.net/goose/test.py

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-07-11 17:18:27 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130711171827-vjqkg40r0dlf7ys2
Tags: 1.11.2-0ubuntu1
* New upstream release.
* Make juju-core the default juju (LP: #1190634):
  - d/control: Add virtual package juju -> juju-core.
  - d/juju-core.postinst.in: Bump priority of alternatives over that of
    python juju packages.
* Enable for all architectures (LP: #1172505):
  - d/control: Version BD on golang-go to >= 2:1.1.1 to ensure CGO
    support for non-x86 archs, make juju-core Arch: any.
  - d/README.source: Dropped - no longer required.
* d/watch: Updated for new upstream tarball naming.

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
    """Run the juju-core test suite"""
152
152
    orig_wd = os.getcwd()
153
153
    try:
154
 
        sys.stderr.write('Switching to juju-core')
 
154
        sys.stderr.write('Switching to juju-core\n')
155
155
        os.chdir('../juju-core')
156
156
        retval = run_cmd(['go', 'build', './...'])
157
157
        if retval != 0:
176
176
                final_retcode = retcode
177
177
        finally:
178
178
            os.chdir(orig_wd)
 
179
    return final_retcode
179
180
 
180
181
 
181
182
def main(args):
209
210
 
210
211
if __name__ == '__main__':
211
212
    import sys
212
 
    main(sys.argv[1:])
 
213
    sys.exit(main(sys.argv[1:]))
213
214