* [PATCH] testsuite: Drop unnecessary tmp dir moving in CrossTest
@ 2026-08-06 7:39 Zhihang Wei
2026-08-06 7:52 ` 'MOESSBAUER, Felix' via isar-users
0 siblings, 1 reply; 3+ messages in thread
From: Zhihang Wei @ 2026-08-06 7:39 UTC (permalink / raw)
To: isar-users
Testing showed that moving the tem dir is unnecessary.
Signed-off-by: Zhihang Wei <wzh@ilbers.de>
---
testsuite/citest.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/testsuite/citest.py b/testsuite/citest.py
index fcd08c95..3ab8b557 100644
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -558,9 +558,7 @@ class CrossTest(CIBaseTest):
]
self.init()
- self.move_in_build_dir('tmp', 'tmp_cross')
self.perform_build_test(targets)
- self.move_in_build_dir('tmp', 'tmp_cross_mira_trixie')
class PrebuiltTest(CIBaseTest):
"""
--
2.39.5
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260806073945.109787-1-wzh%40ilbers.de.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] testsuite: Drop unnecessary tmp dir moving in CrossTest
2026-08-06 7:39 [PATCH] testsuite: Drop unnecessary tmp dir moving in CrossTest Zhihang Wei
@ 2026-08-06 7:52 ` 'MOESSBAUER, Felix' via isar-users
2026-08-06 13:45 ` Zhihang Wei
0 siblings, 1 reply; 3+ messages in thread
From: 'MOESSBAUER, Felix' via isar-users @ 2026-08-06 7:52 UTC (permalink / raw)
To: Zhihang Wei, isar-users
On Thu, 2026-08-06 at 09:39 +0200, Zhihang Wei wrote:
> Testing showed that moving the tem dir is unnecessary.
Thanks!
I'm anyways wondering if we could clean up the tmpdir after a
successful build? I briefly looked into it, but it seems like avocado
does not support a teardown hook on class level, so we probably want to
have a cleanup job which runs last in each test class.
I still have a couple other improvements to the testsuite that make it
much faster and less disk space hungry. But even with that, a full run
still occupies around 500GB of disk space.
Felix
>
> Signed-off-by: Zhihang Wei <wzh@ilbers.de>
> ---
> testsuite/citest.py | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/testsuite/citest.py b/testsuite/citest.py
> index fcd08c95..3ab8b557 100644
> --- a/testsuite/citest.py
> +++ b/testsuite/citest.py
> @@ -558,9 +558,7 @@ class CrossTest(CIBaseTest):
> ]
>
> self.init()
> - self.move_in_build_dir('tmp', 'tmp_cross')
> self.perform_build_test(targets)
> - self.move_in_build_dir('tmp', 'tmp_cross_mira_trixie')
>
> class PrebuiltTest(CIBaseTest):
> """
> --
> 2.39.5
>
> --
> You received this message because you are subscribed to the Google Groups "isar-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260806073945.109787-1-wzh%40ilbers.de.
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/bbf1a34ab72acb9293d4de655e8e2c9ff61967cd.camel%40siemens.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] testsuite: Drop unnecessary tmp dir moving in CrossTest
2026-08-06 7:52 ` 'MOESSBAUER, Felix' via isar-users
@ 2026-08-06 13:45 ` Zhihang Wei
0 siblings, 0 replies; 3+ messages in thread
From: Zhihang Wei @ 2026-08-06 13:45 UTC (permalink / raw)
To: MOESSBAUER, Felix, isar-users
On 8/6/26 09:52, MOESSBAUER, Felix wrote:
> On Thu, 2026-08-06 at 09:39 +0200, Zhihang Wei wrote:
>> Testing showed that moving the tem dir is unnecessary.
> Thanks!
>
> I'm anyways wondering if we could clean up the tmpdir after a
> successful build? I briefly looked into it, but it seems like avocado
> does not support a teardown hook on class level, so we probably want to
> have a cleanup job which runs last in each test class.
I'm not against a cleanup, as long as it's optional and can be set via
local settings.
Zhihang
> I still have a couple other improvements to the testsuite that make it
> much faster and less disk space hungry. But even with that, a full run
> still occupies around 500GB of disk space.
>
> Felix
>
>> Signed-off-by: Zhihang Wei <wzh@ilbers.de>
>> ---
>> testsuite/citest.py | 2 --
>> 1 file changed, 2 deletions(-)
>>
>> diff --git a/testsuite/citest.py b/testsuite/citest.py
>> index fcd08c95..3ab8b557 100644
>> --- a/testsuite/citest.py
>> +++ b/testsuite/citest.py
>> @@ -558,9 +558,7 @@ class CrossTest(CIBaseTest):
>> ]
>>
>> self.init()
>> - self.move_in_build_dir('tmp', 'tmp_cross')
>> self.perform_build_test(targets)
>> - self.move_in_build_dir('tmp', 'tmp_cross_mira_trixie')
>>
>> class PrebuiltTest(CIBaseTest):
>> """
>> --
>> 2.39.5
>>
>> --
>> You received this message because you are subscribed to the Google Groups "isar-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
>> To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260806073945.109787-1-wzh%40ilbers.de.
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/e5e4949d-e1fc-4297-8354-7b81e3f9f60a%40ilbers.de.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-08-06 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06 7:39 [PATCH] testsuite: Drop unnecessary tmp dir moving in CrossTest Zhihang Wei
2026-08-06 7:52 ` 'MOESSBAUER, Felix' via isar-users
2026-08-06 13:45 ` Zhihang Wei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox