Skip to content

Commit 1cae38f

Browse files
To be changed
1 parent bea0e62 commit 1cae38f

File tree

7 files changed

+1705
-10
lines changed

7 files changed

+1705
-10
lines changed

Cargo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[workspace]
2+
resolver = "2"
3+
# Split to default members without component integration tests.
4+
# Used when executing cargo from project root.
5+
members = [
6+
"feature_integration_tests/rust_test_scenarios",
7+
]
8+
9+
[workspace.package]
10+
version = "0.0.1"
11+
edition = "2021"
12+
license-file = "LICENSE"
13+
authors = ["S-CORE Contributors"]

MODULE.bazel

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,36 @@ use_repo(llvm, "llvm_toolchain_llvm")
6868

6969
register_toolchains("@llvm_toolchain//:all")
7070

71-
## needed additions to build
72-
bazel_dep(name = "testing-utils")
71+
## needed additions to build, should be removed when persistency is updated with score_test_scenarios
72+
# bazel_dep(name = "testing-utils")
73+
# git_override(
74+
# module_name = "testing-utils",
75+
# commit = "a847c7464cfa47e000141631d1223b92560d2e58", # tag v0.2.0
76+
# remote = "https://github.com/qorix-group/testing_tools.git",
77+
#)
78+
79+
bazel_dep(name = "score_test_scenarios", version = "0.3.0")
7380
git_override(
74-
module_name = "testing-utils",
75-
commit = "a847c7464cfa47e000141631d1223b92560d2e58", # tag v0.2.0
76-
remote = "https://github.com/qorix-group/testing_tools.git",
81+
module_name = "score_test_scenarios",
82+
commit = "a2f9cded3deb636f5dc800bf7a47131487119721", # tag v0.3.0
83+
remote = "https://github.com/eclipse-score/testing_tools.git",
84+
)
85+
86+
# Needed for feature integration tests
87+
bazel_dep(name = "rules_rust", version = "0.61.0")
88+
bazel_dep(name = "score_itf", version = "0.1.0")
89+
90+
crate = use_extension("@rules_rust//crate_universe:extensions.bzl", "crate")
91+
crate.from_cargo(
92+
name = "feature_integration_tests_crates",
93+
#cargo_lockfile = "//feature_integration_tests/rust_test_scenarios:Cargo.lock",
94+
cargo_lockfile = "//:Cargo.lock",
95+
manifests = [
96+
"//:Cargo.toml",
97+
"//feature_integration_tests/rust_test_scenarios:Cargo.toml",
98+
],
7799
)
100+
use_repo(crate, "feature_integration_tests_crates")
78101

79102
# # TODO: What is this for?
80103
archive_override(
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# *******************************************************************************
2+
# Copyright (c) 2025 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) distributed with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made available under the
8+
# terms of the Apache License Version 2.0 which is available at
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# *******************************************************************************
13+
14+
load("@rules_rust//rust:defs.bzl", "rust_binary")
15+
load("@feature_integration_tests_crates//:defs.bzl", "all_crate_deps")
16+
17+
rust_binary(
18+
name = "rust_test_scenarios",
19+
srcs = glob(["src/**/*.rs"]),
20+
tags = [
21+
"manual",
22+
],
23+
# visibility = ["//feature_integration_tests/python_test_cases:__pkg__"],
24+
deps = [
25+
"@score_orchestrator//src/kyron:libkyron",
26+
"@score_orchestrator//src/kyron-foundation:libkyron_foundation",
27+
"@score_orchestrator//src/orchestration:liborchestration",
28+
"@score_persistency//src/rust/rust_kvs:rust_kvs",
29+
"@score_test_scenarios//test_scenarios_rust/src:test_scenarios_rust",
30+
# "@testing-utils//test_scenarios_rust/src:test_scenarios_rust",
31+
]
32+
+ all_crate_deps(
33+
normal_dev = True,
34+
),
35+
)

0 commit comments

Comments
 (0)