mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-12 11:01:34 +00:00
[test-fix] Adjusting test setup for the new manifest path (using project) and the auto-package-testing project path.
This commit is contained in:
commit
58dbb3f95c
@ -156,13 +156,13 @@ class TestBoottestEnd2End(TestBase):
|
|||||||
"""Create a manifest for this britney run context."""
|
"""Create a manifest for this britney run context."""
|
||||||
path = os.path.join(
|
path = os.path.join(
|
||||||
self.data.path,
|
self.data.path,
|
||||||
'boottest/images/ubuntu/{}'.format(self.data.series))
|
'boottest/images/ubuntu-touch/{}'.format(self.data.series))
|
||||||
create_manifest(path, lines)
|
create_manifest(path, lines)
|
||||||
|
|
||||||
def make_boottest(self):
|
def make_boottest(self):
|
||||||
"""Create a stub version of boottest-britney script."""
|
"""Create a stub version of boottest-britney script."""
|
||||||
script_path = os.path.join(
|
script_path = os.path.expanduser(
|
||||||
self.data.path, 'boottest/jenkins/boottest-britney')
|
"~/auto-package-testing/jenkins/boottest-britney")
|
||||||
os.makedirs(os.path.dirname(script_path))
|
os.makedirs(os.path.dirname(script_path))
|
||||||
with open(script_path, 'w') as f:
|
with open(script_path, 'w') as f:
|
||||||
f.write('''#!%(py)s
|
f.write('''#!%(py)s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user