[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] travis.yml: Test the s390-ccw build, too
From: |
Thomas Huth |
Subject: |
Re: [PATCH] travis.yml: Test the s390-ccw build, too |
Date: |
Fri, 7 Feb 2020 10:56:18 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 07/02/2020 10.47, Cornelia Huck wrote:
> On Thu, 6 Feb 2020 21:25:43 +0100
> Thomas Huth <address@hidden> wrote:
>
>> Since we can now use a s390x host on Travis, we can also build and
>> test the s390-ccw bios images there. For this we have to make sure
>> that roms/SLOF is checked out, too, and then move the generated *.img
>> files to the right location before running the tests.
>
> Oh, nice.
>
>>
>> Signed-off-by: Thomas Huth <address@hidden>
>> ---
>> .travis.yml | 10 ++++++++++
>> 1 file changed, 10 insertions(+)
>>
>> diff --git a/.travis.yml b/.travis.yml
>> index 6c0ec6cf69..c0eeff9caa 100644
>> --- a/.travis.yml
>> +++ b/.travis.yml
>> @@ -508,6 +508,16 @@ matrix:
>> env:
>> - TEST_CMD="make check check-tcg V=1"
>> - CONFIG="--disable-containers
>> --target-list=${MAIN_SOFTMMU_TARGETS},s390x-linux-user"
>> + script:
>> + - ( cd ${SRC_DIR} ; git submodule update --init roms/SLOF )
>> + - BUILD_RC=0 && make -j${JOBS} || BUILD_RC=$?
>> + - |
>> + if [ "$BUILD_RC" -eq 0 ] ; then
>> + mv pc-bios/s390-ccw/*.img pc-bios/ ;
>> + ${TEST_CMD} ;
>
> Out of curiousity: Which kind of tests are run for the net image?
The tests/qtest/pxe-test.c test exercises the netboot.
(and tests/qtest/cdrom-test.c execises booting from disk)
We could maybe add also add more complex test in "check-acceptance"
later, but that's something for another day...
Thomas
- [PATCH] travis.yml: Test the s390-ccw build, too, Thomas Huth, 2020/02/06
- Re: [PATCH] travis.yml: Test the s390-ccw build, too, Philippe Mathieu-Daudé, 2020/02/06
- Re: [PATCH] travis.yml: Test the s390-ccw build, too, Cornelia Huck, 2020/02/07
- Re: [PATCH] travis.yml: Test the s390-ccw build, too,
Thomas Huth <=
- Re: [PATCH] travis.yml: Test the s390-ccw build, too, Alex Bennée, 2020/02/07