-
Notifications
You must be signed in to change notification settings - Fork 31
Run integration tests on QNX via QEMU #328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
61b72a1
0a404c8
d443790
3dad475
5c51154
5d8df15
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,11 +29,13 @@ jobs: | |
| matrix: | ||
| include: | ||
| - bazel-config: x86_64-qnx | ||
| bazel-test-target: >- | ||
| //score/... | ||
| bazel-test-target: //examples/... //tests/... | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would be good to merge the unit tests and other tests into a single entry so that we utilize the cache more.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right now they need to be run with separate configs so that would have to be resolved first. |
||
| - bazel-config: unit-tests-x86_64-qnx | ||
| bazel-test-target: //score/... | ||
| - bazel-config: arm64-qnx | ||
| bazel-test-target: >- | ||
| //score/... | ||
| bazel-test-target: //examples/... //tests/... | ||
| - bazel-config: unit-tests-arm64-qnx | ||
| bazel-test-target: //score/... | ||
| extra-bazel-test-flags: "--test_timeout=120,600,1800,7200" # Increase test timeout due to QEMU emulation | ||
| uses: eclipse-score/cicd-workflows/.github/workflows/qnx-build.yml@af347722c7ae3ed85518895c11268d96ac728f62 | ||
| permissions: | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
|
danth marked this conversation as resolved.
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,2 @@ | ||
| # Python dependencies for generating lifecycle configuration files | ||
| -r ./scripts/config_mapping/requirements.txt | ||
|
|
||
| -r ./tests/integration/requirements.txt | ||
|
|
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2025 Contributors to the Eclipse Foundation | ||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
| # | ||
| # This program and the accompanying materials are made available under the | ||
| # terms of the Apache License Version 2.0 which is available at | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # ******************************************************************************* | ||
|
|
||
| load("@rules_pkg//pkg:mappings.bzl", "pkg_files") | ||
| load("@score_rules_imagefs//rules/qnx:ifs.bzl", "qnx_ifs") | ||
|
|
||
| exports_files( | ||
| ["qemu_config.json"], | ||
| visibility = [ | ||
| "//examples:__subpackages__", | ||
| "//tests:__subpackages__", | ||
| ], | ||
| ) | ||
|
|
||
| pkg_files( | ||
| name = "logging_config.json", | ||
| srcs = ["//tests/utils/environments:ecu_logging_config.json"], | ||
| prefix = "/etc", | ||
| ) | ||
|
|
||
| qnx_ifs( | ||
| name = "qemu_image", | ||
| srcs = [":logging_config.json"], | ||
| build_file = ":init.build", | ||
| target_compatible_with = ["@platforms//os:qnx"], | ||
| visibility = [ | ||
| "//examples:__subpackages__", | ||
| "//tests:__subpackages__", | ||
| ], | ||
| ) |
Uh oh!
There was an error while loading. Please reload this page.