[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 5/5] tests/tcg: add HeapInfo checking to semihosting test
From: |
Alex Bennée |
Subject: |
Re: [PATCH v5 5/5] tests/tcg: add HeapInfo checking to semihosting test |
Date: |
Fri, 12 Mar 2021 14:08:38 +0000 |
User-agent: |
mu4e 1.5.10; emacs 28.0.50 |
Peter Maydell <peter.maydell@linaro.org> writes:
> On Fri, 12 Mar 2021 at 11:24, Alex Benn=C3=A9e <alex.bennee@linaro.org> wro=
> te:
>>
>>
>> Peter Maydell <peter.maydell@linaro.org> writes:
>>
>> > On Fri, 12 Mar 2021 at 10:31, Alex Benn=3DC3=3DA9e <alex.bennee@linaro.=
> org> wro=3D
>> > te:
>> >>
>> >> Query the SYS_HEAPINFO semicall and do some basic verification of the
>> >> information via libc calls.
>> >
>> > Are we both testing system emulation and linux-user, or just one of the=
> two=3D
>> > ?
>>
>> Currently just linux-user. There is no inherent reason we couldn't add a
>> system emulation test but I felt that was already reasonably exercised
>> by your semihosting tests.
>
> Do we run those automatically anywhere ? I agree that probably the
> best thing is to get those into the CI loop somehow (and then put
> a SYS_HEAPINFO test there.)
Not currently. I have toyed with series that make integrate the building
of external test suites into the source tree. There are a number that it
would be useful to have a short "make" away including:
kvm-unit-tests
LTP
diy7 (memory model testing)
sbsa-ref tools
and I guess the semihosting testd would be another good example.
--
Alex Bennée
[PATCH v5 3/5] semihosting/arm-compat-semi: don't use SET_ARG to report SYS_HEAPINFO, Alex Bennée, 2021/03/12
[PATCH v5 2/5] semihosting/arm-compat-semi: unify GET/SET_ARG helpers, Alex Bennée, 2021/03/12