All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] CI: remove zephyr specific testimage hacks
@ 2022-07-27 16:56 Jon Mason
  2022-07-27 21:37 ` Jon Mason
  2022-07-29 19:16 ` Jon Mason
  0 siblings, 2 replies; 3+ messages in thread
From: Jon Mason @ 2022-07-27 16:56 UTC (permalink / raw)
  To: meta-arm

meta-zephyr recently was fixed to allow for autotest.  Remove all the
zephyr testing hacks and use that.

Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .gitlab-ci.yml          | 15 ++-------------
 ci/testimage-zephyr.yml |  1 +
 2 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 36cf61ac..840a6507 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,17 +41,6 @@ stages:
     paths:
       - $CI_PROJECT_DIR/work/build/tmp/work*/**/temp/log.do_*.*
 
-# Workaround for Zephyr not currectly handling TESTIMAGE_AUTO
-.build_and_test:
-  extends: .setup
-  script:
-    - KASFILES=$(./ci/jobs-to-kas "$CI_JOB_NAME")
-    - kas shell --update --force-checkout $KASFILES -c 'cat conf/*.conf'
-    - kas build $KASFILES
-    - kas build $KASFILES -c testimage
-    - ./ci/check-warnings $KAS_WORK_DIR/build/warnings.log
-
-
 #
 # Prep stage, update repositories once
 #
@@ -138,7 +127,7 @@ juno:
         FIRMWARE: [uboot, edk2]
 
 microbit-v1:
-  extends: .build_and_test
+  extends: .build
   parallel:
     matrix:
       - TESTING: testimage-zephyr
@@ -159,7 +148,7 @@ qemu-cortex-a53:
   extends: .build
 
 qemu-cortex-m3:
-  extends: .build_and_test
+  extends: .build
   parallel:
     matrix:
       - TESTING: testimage-zephyr
diff --git a/ci/testimage-zephyr.yml b/ci/testimage-zephyr.yml
index 7ef051b5..83e17a70 100644
--- a/ci/testimage-zephyr.yml
+++ b/ci/testimage-zephyr.yml
@@ -6,3 +6,4 @@ local_conf_header:
     IMAGE_CLASSES += "testimage"
     TEST_TARGET = "QemuTargetZephyr"
     TEST_SUITES = "zephyr"
+    TESTIMAGE_AUTO = "1"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] CI: remove zephyr specific testimage hacks
  2022-07-27 16:56 [PATCH] CI: remove zephyr specific testimage hacks Jon Mason
@ 2022-07-27 21:37 ` Jon Mason
  2022-07-29 19:16 ` Jon Mason
  1 sibling, 0 replies; 3+ messages in thread
From: Jon Mason @ 2022-07-27 21:37 UTC (permalink / raw)
  To: meta-arm, Jon Mason

On Wed, 27 Jul 2022 12:56:11 -0400, Jon Mason wrote:
> meta-zephyr recently was fixed to allow for autotest.  Remove all the
> zephyr testing hacks and use that.

Applied, thanks!

[1/1] CI: remove zephyr specific testimage hacks
      commit: 6e4522e1c6b808838d065e36c0967a4a95cdea4f

Best regards,
-- 
Jon Mason <jon.mason@arm.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] CI: remove zephyr specific testimage hacks
  2022-07-27 16:56 [PATCH] CI: remove zephyr specific testimage hacks Jon Mason
  2022-07-27 21:37 ` Jon Mason
@ 2022-07-29 19:16 ` Jon Mason
  1 sibling, 0 replies; 3+ messages in thread
From: Jon Mason @ 2022-07-29 19:16 UTC (permalink / raw)
  To: meta-arm, Jon Mason

On Wed, 27 Jul 2022 12:56:11 -0400, Jon Mason wrote:
> meta-zephyr recently was fixed to allow for autotest.  Remove all the
> zephyr testing hacks and use that.

Applied, thanks!

[1/1] CI: remove zephyr specific testimage hacks
      commit: 6e4522e1c6b808838d065e36c0967a4a95cdea4f

Best regards,
-- 
Jon Mason <jon.mason@arm.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-29 19:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 16:56 [PATCH] CI: remove zephyr specific testimage hacks Jon Mason
2022-07-27 21:37 ` Jon Mason
2022-07-29 19:16 ` Jon Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.