public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Adriaan Schmidt <adriaan.schmidt@siemens.com>
To: <isar-users@googlegroups.com>
Cc: Adriaan Schmidt <adriaan.schmidt@siemens.com>
Subject: [PATCH 1/1] testsuite: fix ccache test
Date: Mon, 9 May 2022 07:14:29 +0200	[thread overview]
Message-ID: <20220509051429.3087484-1-adriaan.schmidt@siemens.com> (raw)

Adapt the ccache test to the "new" testsuite API.

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
---
 testsuite/cibase.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/testsuite/cibase.py b/testsuite/cibase.py
index b25c356e..a1494ce6 100755
--- a/testsuite/cibase.py
+++ b/testsuite/cibase.py
@@ -45,11 +45,8 @@ class CIBaseTest(CIBuilder):
             # Try to build with changed configuration with no cleanup
             self.bitbake(targets, **kwargs)
 
-    def perform_ccache_test(self, targets):
-        build_dir, bb_args = self.prep('Isar ccache build', targets, 0, 0)
-
-        self.deletetmp(build_dir)
-        process.run('rm -rf ' + build_dir + '/ccache', sudo=True)
+    def perform_ccache_test(self, targets, **kwargs):
+        self.configure(ccache=True, **kwargs)
 
         self.delete_from_build_dir('tmp')
         self.delete_from_build_dir('ccache')
-- 
2.30.2


             reply	other threads:[~2022-05-09  5:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-09  5:14 Adriaan Schmidt [this message]
2022-05-16  9:31 ` Anton Mikanovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220509051429.3087484-1-adriaan.schmidt@siemens.com \
    --to=adriaan.schmidt@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox