Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 42 additions & 3 deletions score/os/test/qnx/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package(
)

py_unittest_qnx_test(
name = "unit_tests_qnx",
name = "unit_tests_qnx_common",
test_cases = [
":channel_test",
":channel_impl_test",
Expand All @@ -31,7 +31,6 @@ py_unittest_qnx_test(
":dispatch_impl_test",
":iofunc_test",
":neutrino_test",
":pci_test",
# TODO: To be fixed on Ticket-201117. Test not compatible with ARM64
# ":pci_safety_test",
":procmgr_test",
Expand All @@ -52,7 +51,28 @@ py_unittest_qnx_test(
":sigevent_qnx_test",
":qnx_version_test",
],
visibility = ["//visibility:public"], # platform_only
)

py_unittest_qnx_test(
name = "unit_tests_qnx",
test_cases = [
":pci_test",
],
test_suites = [
":unit_tests_qnx_common",
"@score_baselibs//score/os/utils/qnx/resource_manager:unit_tests_qnx",
],
visibility = ["//visibility:public"], # platform_only
)

py_unittest_qnx_test(
name = "unit_tests_qnx8_hw",
test_cases = [
":pci_test_qnx8_hw",
],
test_suites = [
":unit_tests_qnx",
"@score_baselibs//score/os/utils/qnx/resource_manager:unit_tests_qnx",
],
visibility = ["//visibility:public"], # platform_only
Expand Down Expand Up @@ -311,7 +331,6 @@ cc_test(
"manual",
"unit",
],
#TODO: Ticket-216047: Fix disabled tests which failed on qnx8
target_compatible_with = [
"@platforms//os:qnx",
"@score_bazel_platforms//:qnx7_1",
Expand All @@ -323,6 +342,26 @@ cc_test(
],
)

cc_test(
name = "pci_test_qnx8_hw",
srcs = [
"pci_test.cpp",
],
tags = [
"manual",
"unit",
],
target_compatible_with = [
"@platforms//os:qnx",
"@score_bazel_platforms//:qnx8_0",
],
deps = [
"@googletest//:gtest_main",
"@score_baselibs//score/os/qnx:neutrino",
"@score_baselibs//score/os/qnx:pci",
],
)

# safety test target removed

cc_test(
Expand Down
Loading