diff options
| author | cajun-rat <phil@advancedtelematic.com> | 2017-11-13 12:24:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-13 12:24:25 +0100 |
| commit | e183e204e0220e7ceb3401e45fb40d828703c9e7 (patch) | |
| tree | 7bfbb221a8c118e51de7daa1f38ff1262044d078 | |
| parent | 090141edfc5883a2fe0ed1faece3ee2da957d115 (diff) | |
| parent | 83de2daca646140036cbcb75d7f9acfa1991f1b7 (diff) | |
| download | meta-updater-e183e204e0220e7ceb3401e45fb40d828703c9e7.tar.gz | |
Merge pull request #170 from leon-anavi/pyro
oe-selftest
| -rw-r--r-- | README.adoc | 16 | ||||
| -rw-r--r-- | lib/oeqa/selftest/garage_push.py | 3 |
2 files changed, 19 insertions, 0 deletions
diff --git a/README.adoc b/README.adoc index 47c0a2b..0097670 100644 --- a/README.adoc +++ b/README.adoc | |||
| @@ -122,3 +122,19 @@ garage-push --repo=/path/to/ostree-repo --ref=mybranch --credentials=/path/to/cr | |||
| 122 | .... | 122 | .... |
| 123 | 123 | ||
| 124 | You can set SOTA_PACKED_CREDENTIALS in your local.conf to make your build results be automatically synchronized with a remote server. Credentials are stored in the JSON format described in the https://github.com/advancedtelematic/aktualizr/blob/master/README.sotatools.adoc[garage-push README]. This JSON file can be optionally stored inside a zip file, although if it is stored this way, the JSON file must be named treehub.json. | 124 | You can set SOTA_PACKED_CREDENTIALS in your local.conf to make your build results be automatically synchronized with a remote server. Credentials are stored in the JSON format described in the https://github.com/advancedtelematic/aktualizr/blob/master/README.sotatools.adoc[garage-push README]. This JSON file can be optionally stored inside a zip file, although if it is stored this way, the JSON file must be named treehub.json. |
| 125 | |||
| 126 | === QA | ||
| 127 | |||
| 128 | This layer relies on the test framework oe-selftest for quality assurance. Follow the steps below to run the tests: | ||
| 129 | |||
| 130 | * Append the line below to conf/local.conf | ||
| 131 | |||
| 132 | ``` | ||
| 133 | SANITY_TESTED_DISTROS="" | ||
| 134 | ``` | ||
| 135 | |||
| 136 | * Run oe-selftest: | ||
| 137 | |||
| 138 | ``` | ||
| 139 | oe-selftest --run-tests garage_push | ||
| 140 | ``` | ||
diff --git a/lib/oeqa/selftest/garage_push.py b/lib/oeqa/selftest/garage_push.py index 3490de5..21bd1c1 100644 --- a/lib/oeqa/selftest/garage_push.py +++ b/lib/oeqa/selftest/garage_push.py | |||
| @@ -37,3 +37,6 @@ class GaragePushTests(oeSelfTest): | |||
| 37 | self.write_config('IMAGE_INSTALL_append = " man "') | 37 | self.write_config('IMAGE_INSTALL_append = " man "') |
| 38 | bitbake('core-image-minimal') | 38 | bitbake('core-image-minimal') |
| 39 | 39 | ||
| 40 | def test_hsm(self): | ||
| 41 | self.write_config('SOTA_CLIENT_FEATURES="hsm hsm-test"') | ||
| 42 | bitbake('core-image-minimal') | ||
