summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2022-08-17 09:16:37 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-18 10:02:21 +0000
commita3a28f011a181958e917fb5a60477bbb10924ef4 (patch)
tree12e65f0ec6c09179356e60aea6fce6864042c742
parentb8aa0fc2f17999d6fdf0ad70e29e20f312a32473 (diff)
downloadchrome-ec-a3a28f011a181958e917fb5a60477bbb10924ef4.tar.gz
zephyr: test: rename system to system_shim
The current tests in shim link against shim/src/system.c, so this directory is somewhat limited to tests against the shim implementation. Rename it to reflect that, will create tests against common code in a different one. BRANCH=none BUG=b:236074111 TEST=./twister -v -T zephyr/test/system_shim Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: I3d93af3001be8d56cc6cf18d2d3b12ceace1c897 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3835564 Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Yuval Peress <peress@google.com> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
-rw-r--r--zephyr/test/system_shim/CMakeLists.txt (renamed from zephyr/test/system/CMakeLists.txt)2
-rw-r--r--zephyr/test/system_shim/boards/native_posix.overlay (renamed from zephyr/test/system/boards/native_posix.overlay)0
-rw-r--r--zephyr/test/system_shim/prj.conf (renamed from zephyr/test/system/prj.conf)0
-rw-r--r--zephyr/test/system_shim/test_system.c (renamed from zephyr/test/system/test_system.c)0
-rw-r--r--zephyr/test/system_shim/testcase.yaml (renamed from zephyr/test/system/testcase.yaml)2
5 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/test/system/CMakeLists.txt b/zephyr/test/system_shim/CMakeLists.txt
index 2113b3a9cf..104058557a 100644
--- a/zephyr/test/system/CMakeLists.txt
+++ b/zephyr/test/system_shim/CMakeLists.txt
@@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.13.1)
find_package(Zephyr REQUIRED HINTS "${ZEPHYR_BASE}")
-project(system_test)
+project(system_shim_test)
target_sources(app PRIVATE test_system.c
${PLATFORM_EC}/zephyr/shim/src/system.c)
diff --git a/zephyr/test/system/boards/native_posix.overlay b/zephyr/test/system_shim/boards/native_posix.overlay
index 82c3f7e757..82c3f7e757 100644
--- a/zephyr/test/system/boards/native_posix.overlay
+++ b/zephyr/test/system_shim/boards/native_posix.overlay
diff --git a/zephyr/test/system/prj.conf b/zephyr/test/system_shim/prj.conf
index 201c2feacc..201c2feacc 100644
--- a/zephyr/test/system/prj.conf
+++ b/zephyr/test/system_shim/prj.conf
diff --git a/zephyr/test/system/test_system.c b/zephyr/test/system_shim/test_system.c
index 45aed5dfff..45aed5dfff 100644
--- a/zephyr/test/system/test_system.c
+++ b/zephyr/test/system_shim/test_system.c
diff --git a/zephyr/test/system/testcase.yaml b/zephyr/test/system_shim/testcase.yaml
index d6977dbb6a..85df1de33a 100644
--- a/zephyr/test/system/testcase.yaml
+++ b/zephyr/test/system_shim/testcase.yaml
@@ -1,4 +1,4 @@
common:
platform_allow: native_posix
tests:
- system.default: {}
+ system_shim.default: {}