Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ py_library(
srcs = [
"score/itf/__init__.py",
],
imports = ["."],
visibility = ["//visibility:public"],
deps = [
"//score/itf/core/com",
"//score/itf/core/process",
"//score/itf/core/target",
"//score/itf/core/utils",
"//score/itf/plugins:core",
],
)
Expand Down
6 changes: 3 additions & 3 deletions examples/examples/itf/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@score_itf//:defs.bzl", "py_itf_test")
load("@score_itf//score/itf/plugins:plugins.bzl", "base", "dlt", "docker")
load("@score_itf//score/itf/plugins:plugins.bzl", "dlt", "docker", "qemu")

py_itf_test(
name = "test_docker",
Expand Down Expand Up @@ -58,7 +58,7 @@ py_itf_test(
"@score_itf//test/resources:target_config",
],
plugins = [
base,
qemu,
dlt,
],
tags = [
Expand All @@ -81,7 +81,7 @@ py_itf_test(
"@score_itf//test/resources:target_config",
],
plugins = [
base,
qemu,
dlt,
],
tags = [
Expand Down
34 changes: 0 additions & 34 deletions score/itf/core/base/BUILD

This file was deleted.

27 changes: 0 additions & 27 deletions score/itf/core/base/os/BUILD

This file was deleted.

31 changes: 0 additions & 31 deletions score/itf/core/base/target/BUILD

This file was deleted.

26 changes: 0 additions & 26 deletions score/itf/core/base/target/config/BUILD

This file was deleted.

30 changes: 0 additions & 30 deletions score/itf/core/base/target/processors/BUILD

This file was deleted.

26 changes: 0 additions & 26 deletions score/itf/core/base/utils/BUILD

This file was deleted.

10 changes: 5 additions & 5 deletions score/itf/core/com/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

load("@itf_pip//:requirements.bzl", "requirement")
load("@rules_python//python:defs.bzl", "py_library")

py_library(
Expand All @@ -20,8 +22,9 @@ py_library(
"ssh.py",
"ssh_command.py",
],
imports = ["."],
visibility = ["//visibility:public"],
deps = [
requirement("paramiko"),
],
)

py_library(
Expand All @@ -30,13 +33,10 @@ py_library(
"__init__.py",
"ping.py",
],
imports = ["."],
visibility = ["//visibility:public"],
)

py_library(
name = "com",
imports = ["."],
visibility = ["//visibility:public"],
deps = [
":ping",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************

load("@itf_pip//:requirements.bzl", "requirement")
load("@rules_python//python:defs.bzl", "py_library")

py_library(
Expand All @@ -19,6 +21,8 @@ py_library(
"console.py",
"process_wrapper.py",
],
imports = ["."],
visibility = ["//visibility:public"],
deps = [
requirement("pytest"),
],
)
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import pytest

from subprocess import TimeoutExpired
from score.itf.core.utils.process.console import PipeConsole
from score.itf.core.process.console import PipeConsole


logger = logging.getLogger(__name__)
Expand Down
27 changes: 0 additions & 27 deletions score/itf/core/qemu/BUILD

This file was deleted.

4 changes: 0 additions & 4 deletions score/itf/core/utils/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,5 @@ py_library(
"bunch.py",
"utils.py",
],
imports = ["."],
visibility = ["//visibility:public"],
deps = [
"//score/itf/core/utils/process",
],
)
12 changes: 0 additions & 12 deletions score/itf/core/utils/process/__init__.py

This file was deleted.

1 change: 1 addition & 0 deletions score/itf/plugins/dlt/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ py_library(
],
visibility = ["//visibility:public"],
deps = [
"//score/itf/core/process",
"//score/itf/core/utils",
"//third_party/python_dlt",
],
Expand Down
2 changes: 1 addition & 1 deletion score/itf/plugins/dlt/dlt_receive.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import os

from score.itf.core.utils.bazel import get_output_dir
from score.itf.core.utils.process.process_wrapper import ProcessWrapper
from score.itf.core.process.process_wrapper import ProcessWrapper


logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion score/itf/plugins/dlt/dlt_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import dlt.dlt as python_dlt

from score.itf.core.utils.bunch import Bunch
from score.itf.core.utils.process.process_wrapper import ProcessWrapper
from score.itf.core.process.process_wrapper import ProcessWrapper
from score.itf.plugins.dlt.dlt_receive import DltReceive, Protocol, protocol_arguments


Expand Down
6 changes: 3 additions & 3 deletions score/itf/plugins/plugins.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ docker = py_itf_plugin(
],
)

base = py_itf_plugin(
py_library = "@score_itf//score/itf/core/base",
qemu = py_itf_plugin(
py_library = "@score_itf//score/itf/plugins/qemu",
enabled_plugins = [
"score.itf.core.base.base_plugin",
"score.itf.plugins.qemu",
],
args = [
],
Expand Down
Loading