Commit 196029a2 authored by Neil Williams's avatar Neil Williams 💬

Use a permanent image for unit tests

The sample_jobs do not need to actually function, just use
representative files with permanent locations.

Change-Id: Ic73c3f38ab0f1405fb9de0efc14b0b2fbb9ff741
parent 7b9c3e84
......@@ -48,16 +48,16 @@ actions:
namespace: droid
images:
boot:
url: http://snapshots.linaro.org/android/pmwg/android-hikey960-linaro-4.9-pmwg/36/boot.img.xz
url: http://images.validation.linaro.org/snapshots.linaro.org/android/pmwg/android-hikey960-linaro-4.9-pmwg/36/boot.img.xz
compression: xz
cache:
url: http://testdata.validation.linaro.org/hikey960-pmwg/cache.img.xz
url: http://images.validation.linaro.org/testdata.validation.linaro.org/hikey960-pmwg/cache.img.xz
compression: xz
userdata:
url: http://testdata.validation.linaro.org/hikey960-pmwg/userdata.img.xz
url: http://images.validation.linaro.org/testdata.validation.linaro.org/hikey960-pmwg/userdata.img.xz
compression: xz
system:
url: http://testdata.validation.linaro.org/hikey960-pmwg/system.img.xz
url: http://images.validation.linaro.org/testdata.validation.linaro.org/hikey960-pmwg/system.img.xz
compression: xz
os: debian
protocols:
......
......@@ -21,7 +21,7 @@ actions:
to: tmpfs
images:
zephyr:
url: http://snapshots.linaro.org/components/kernel/zephyr/master/zephyr/frdm_k64f/latest/tests/kernel/common/test/zephyr.bin
url: http://images.validation.linaro.org/snapshots.linaro.org/components/kernel/zephyr/master/zephyr/frdm_kw41z/737/tests/kernel/libs/test/zephyr.bin
- boot:
method: cmsis-dap
......@@ -36,4 +36,4 @@ actions:
pattern: '(?P<result>(PASS|FAIL)) - (?P<test_case_id>.*)\.'
fixupdict:
PASS: pass
FAIL: fail
\ No newline at end of file
FAIL: fail
......@@ -18,7 +18,7 @@ actions:
to: tmpfs
images:
zephyr:
url: http://snapshots.linaro.org/components/kernel/zephyr/master/zephyr/frdm_k64f/latest/tests/kernel/common/test/zephyr.bin
url: http://images.validation.linaro.org/snapshots.linaro.org/components/kernel/zephyr/master/zephyr/frdm_kw41z/737/tests/kernel/libs/test/zephyr.bin
- boot:
method: pyocd
......@@ -33,4 +33,4 @@ actions:
pattern: '(?P<result>(PASS|FAIL)) - (?P<test_case_id>.*)\.'
fixupdict:
PASS: pass
FAIL: fail
\ No newline at end of file
FAIL: fail
......@@ -21,7 +21,7 @@ actions:
to: tmpfs
images:
zephyr:
url: http://snapshots.linaro.org/components/kernel/zephyr/master/zephyr/96b_nitrogen/latest/tests/kernel/common/test/zephyr.bin
url: http://images.validation.linaro.org/snapshots.linaro.org/components/kernel/zephyr/master/zephyr/frdm_kw41z/737/tests/kernel/libs/test/zephyr.bin
- boot:
method: cmsis-dap
......
......@@ -18,7 +18,7 @@ actions:
to: tmpfs
images:
zephyr:
url: http://snapshots.linaro.org/components/kernel/zephyr/master/zephyr/96b_nitrogen/latest/tests/kernel/common/test/zephyr.bin
url: http://images.validation.linaro.org/snapshots.linaro.org/components/kernel/zephyr/master/zephyr/frdm_kw41z/737/tests/kernel/libs/test/zephyr.bin
- boot:
method: pyocd
......
......@@ -290,6 +290,7 @@ class TestFastbootDeploy(StdoutTestCase): # pylint: disable=too-many-public-met
self.factory = FastBootFactory()
job = self.factory.create_nexus5x_job('sample_jobs/nexus5x.yaml',
mkdtemp())
# do not run job.validate() - urls no longer exist.
description_ref = self.pipeline_reference('nexus5x.yaml', job=job)
self.assertEqual(description_ref, job.pipeline.describe(False))
......@@ -297,6 +298,7 @@ class TestFastbootDeploy(StdoutTestCase): # pylint: disable=too-many-public-met
self.factory = FastBootFactory()
job = self.factory.create_pixel_job('sample_jobs/pixel.yaml',
mkdtemp())
# do not run job.validate() - urls no longer exist.
description_ref = self.pipeline_reference('pixel.yaml', job=job)
self.assertEqual(description_ref, job.pipeline.describe(False))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment