File tree Expand file tree Collapse file tree 3 files changed +42
-7
lines changed
Expand file tree Collapse file tree 3 files changed +42
-7
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ use_repo(python)
3636
3737pip = use_extension ("@rules_python//python/extensions:pip.bzl" , "pip" , dev_dependency = True )
3838pip .parse (
39- hub_name = "pip_score_venv_test " ,
39+ hub_name = "pip_score_venv_test2 " ,
4040 python_version = PYTHON_VERSION ,
4141 requirements_lock = "//feature_integration_tests/python_test_cases:requirements.txt.lock" ,
4242)
4343
44- use_repo (pip , "pip_score_venv_test " )
44+ use_repo (pip , "pip_score_venv_test2 " )
4545
4646# Special imports for certain modules
4747
Original file line number Diff line number Diff line change @@ -24,17 +24,20 @@ single_version_override(
2424)
2525
2626bazel_dep(name = "score_persistency")
27- single_version_override (
27+ git_override (
2828 module_name = "score_persistency",
29- version = "0.2.1",
29+ remote = "https://github.com/eclipse-score/persistency.git",
30+ commit = "777dbb1d289632c0859fb0429ebca07764fda705"
3031)
3132
33+
3234bazel_dep(name = "score_orchestrator")
33- single_version_override (
35+ local_path_override (
3436 module_name = "score_orchestrator",
35- version = "0.0.3 ",
37+ path = "/home/pko/qorix/inc_orchestrator_internal ",
3638)
3739
40+
3841bazel_dep(name = "score_tooling")
3942single_version_override(
4043 module_name = "score_tooling",
@@ -81,5 +84,5 @@ bazel_dep(name = "score_kyron")
8184git_override(
8285 module_name = "score_kyron",
8386 remote = "https://github.com/eclipse-score/kyron.git",
84- commit = "c5837ac6612a5ebf91cd016775f2d3ee85ed6892 ",
87+ commit = "d6b5bb495728d6764f08b8902f7638311f9cbfd7 ",
8588)
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -uo pipefail
3+
4+ # Integration unit test script.
5+
6+ CONFIG=${CONFIG:- bl-x86_64-linux}
7+ LOG_DIR=${LOG_DIR:- _logs/ logs_ut}
8+ SUMMARY_FILE=${SUMMARY_FILE:- _logs/ ut_summary.md}
9+ mkdir -p " ${LOG_DIR} " || true
10+
11+ declare -A UT_TARGET_GROUPS=(
12+ [baselibs]=" @score_baselibs//score/... -- \
13+ -@score_baselibs//score/language/safecpp/aborts_upon_exception:abortsuponexception_toolchain_test \
14+ -@score_baselibs//score/containers:dynamic_array_test" # nok, error in @score_baselibs//score/json/examples:json_buffer
15+ [communication]=" @score_communication//score/..." # nok, error from trlc in score_communication//score/mw/com/requirements/feature_requirements
16+ [persistency]=" @score_persistency//:unit_tests" # ok
17+ [orchestrator]=" @score_orchestrator//src/..." # ok
18+ [kyron]=" @score_kyron//:unit_tests" # ok
19+ [feo]=" @score_feo//... --build_tests_only" # ok (flag required or error from docs)
20+ )
21+
22+ for group in " ${! UT_TARGET_GROUPS[@]} " ; do
23+ targets=" ${UT_TARGET_GROUPS[$group]} "
24+ echo " ==========================================="
25+ echo " Running unit tests for group: $group "
26+ echo " ==========================================="
27+ set -x
28+ bazel test --config=" ${CONFIG} " ${targets} | tee " ${LOG_DIR} /ut_${group} _output.log"
29+ set +x
30+ echo " ==========================================="
31+ echo -e " \n\n"
32+ done
You can’t perform that action at this time.
0 commit comments