Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Conversation

@pohly
Copy link
Contributor

@pohly pohly commented Jun 19, 2017

Nothing major, just the removal of mraa/upm/NodeJS from
refkit-image-common that Mikko proposed in PR #184 and another
enhancement that I found useful.

@pohly pohly requested a review from ipuustin June 19, 2017 15:04
@pohly
Copy link
Contributor Author

pohly commented Jun 19, 2017

@ipuustin this is something we should be able to merge quickly, once testing is done.

@ipuustin
Copy link
Contributor

Looks good to me. Let's merge this when the tests pass.

@ipuustin
Copy link
Contributor

For some reason the common image mraa/upm tests didn't pass. ;-) Could you move them to use the gateway image?

@pohly
Copy link
Contributor Author

pohly commented Jun 20, 2017 via email

@ipuustin
Copy link
Contributor

@pohly Hey, I'm trying to fix your Refkit installer qemu tests now. ;-) The manifest files (such as https://github.com/intel/intel-iot-refkit/blob/master/meta-iotqa/conf/test/refkit-image-common.manifest for refkit-image-common) control which tests get run on which image. @Arthil will know more.

@Arthil
Copy link

Arthil commented Jun 20, 2017

@pohly Hey, like @ipuustin said, you can modify which tests are run in the manifest files located in https://github.com/intel/intel-iot-refkit/tree/master/meta-iotqa/conf/test . Also note that all the tests in refkit-image-common.manifest are also run on computervision and gateway profiles. If you want to have these particular test only in gateway, you can remove them from refkit-image-common.manifest and add them to gateway instead.

@pohly
Copy link
Contributor Author

pohly commented Jun 20, 2017 via email

@ipuustin
Copy link
Contributor

@pohly: try removing mraa-test from IOTQA_TESTIMAGEDEPENDS. In computer vision image, we have a separate package group for installing tests, examples, and benchmarks to test images (see https://github.com/intel/intel-iot-refkit/blob/master/meta-refkit-computervision/recipes-computervision/packagegroups/packagegroup-computervision-test.bb). Maybe installing mraa-test would need to be refactored into a similar package group for common image?

@refkit-ci
Copy link

Can one of the admins verify this patch?

pohly added 2 commits June 26, 2017 07:57
The "sensors" image feature includes mraa, upm and via their
dependencies also NodeJS. This is not required by all profiles
and having it in common has some downsides:
- slower build times in all tests using refkit-image-common
  (but not much, at least when NodeJS is already built,
  only 17s less when building twice, which takes several minutes)
- dependency on components which are not in OE-core and thus
  have a higher chance of breaking in other distros

Tests needs to be moved from common to gateway, too. While at it,
sorting order gets restored in the gateway test list.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
This has two advantages:
- slightly faster (but not much)
- less annoying when run on a developer desktop, because
  the graphical console window tends to pop up randomly
  during testing

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
@pohly pohly force-pushed the test-enhancements branch from d5c2e13 to a13ae52 Compare June 26, 2017 05:58
@pohly
Copy link
Contributor Author

pohly commented Jun 26, 2017

I'm not sure, but it looks like mraa-tests only gets installed during testing. So perhaps changing the manifests is really all that's needed. Let's see whether it passes now.

@pohly
Copy link
Contributor Author

pohly commented Jun 26, 2017

@mythi it passed testing now, so probably ready for merging.

mythi added a commit to mythi/intel-iot-refkit that referenced this pull request Jun 27, 2017
mythi added a commit to mythi/intel-iot-refkit that referenced this pull request Jun 27, 2017
@mythi mythi merged commit a13ae52 into intel:master Jun 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants