* [PATCH] travis.yml: Test the s390-ccw build, too
@ 2020-02-06 20:25 Thomas Huth
2020-02-06 22:40 ` Philippe Mathieu-Daudé
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Thomas Huth @ 2020-02-06 20:25 UTC (permalink / raw)
To: qemu-devel, Cornelia Huck
Cc: Christian Borntraeger, qemu-s390x, Philippe Mathieu-Daudé,
Alex Bennée, David Hildenbrand
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.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
.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} ;
+ else
+ $(exit $BUILD_RC);
+ fi
# Release builds
# The make-release script expect a QEMU version, so our tag must start with a 'v'.
--
2.18.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] travis.yml: Test the s390-ccw build, too
2020-02-06 20:25 [PATCH] travis.yml: Test the s390-ccw build, too Thomas Huth
@ 2020-02-06 22:40 ` Philippe Mathieu-Daudé
2020-02-07 9:47 ` Cornelia Huck
2020-02-07 11:13 ` Alex Bennée
2 siblings, 0 replies; 6+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-02-06 22:40 UTC (permalink / raw)
To: Thomas Huth, qemu-devel, Cornelia Huck
Cc: Christian Borntraeger, qemu-s390x, Alex Bennée, David Hildenbrand
On 2/6/20 9:25 PM, Thomas Huth 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.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> .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} ;
> + else
> + $(exit $BUILD_RC);
> + fi
>
> # Release builds
> # The make-release script expect a QEMU version, so our tag must start with a 'v'.
>
Maybe remove the trailing ", too" in subject...
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
https://travis-ci.org/philmd/qemu/jobs/647085877#L3190
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] travis.yml: Test the s390-ccw build, too
2020-02-06 20:25 [PATCH] travis.yml: Test the s390-ccw build, too Thomas Huth
2020-02-06 22:40 ` Philippe Mathieu-Daudé
@ 2020-02-07 9:47 ` Cornelia Huck
2020-02-07 9:56 ` Thomas Huth
2020-02-07 11:13 ` Alex Bennée
2 siblings, 1 reply; 6+ messages in thread
From: Cornelia Huck @ 2020-02-07 9:47 UTC (permalink / raw)
To: Thomas Huth
Cc: David Hildenbrand, Alex Bennée, qemu-devel,
Christian Borntraeger, qemu-s390x, Philippe Mathieu-Daudé
On Thu, 6 Feb 2020 21:25:43 +0100
Thomas Huth <thuth@redhat.com> 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 <thuth@redhat.com>
> ---
> .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?
> + else
> + $(exit $BUILD_RC);
> + fi
>
> # Release builds
> # The make-release script expect a QEMU version, so our tag must start with a 'v'.
Acked-by: Cornelia Huck <cohuck@redhat.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] travis.yml: Test the s390-ccw build, too
2020-02-07 9:47 ` Cornelia Huck
@ 2020-02-07 9:56 ` Thomas Huth
2020-02-07 11:05 ` Christian Borntraeger
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Huth @ 2020-02-07 9:56 UTC (permalink / raw)
To: Cornelia Huck
Cc: David Hildenbrand, Alex Bennée, qemu-devel,
Christian Borntraeger, qemu-s390x, Philippe Mathieu-Daudé
On 07/02/2020 10.47, Cornelia Huck wrote:
> On Thu, 6 Feb 2020 21:25:43 +0100
> Thomas Huth <thuth@redhat.com> 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 <thuth@redhat.com>
>> ---
>> .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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] travis.yml: Test the s390-ccw build, too
2020-02-07 9:56 ` Thomas Huth
@ 2020-02-07 11:05 ` Christian Borntraeger
0 siblings, 0 replies; 6+ messages in thread
From: Christian Borntraeger @ 2020-02-07 11:05 UTC (permalink / raw)
To: Thomas Huth, Cornelia Huck
Cc: Philippe Mathieu-Daudé,
qemu-s390x, Alex Bennée, qemu-devel, David Hildenbrand
On 07.02.20 10:56, Thomas Huth wrote:
> On 07/02/2020 10.47, Cornelia Huck wrote:
>> On Thu, 6 Feb 2020 21:25:43 +0100
>> Thomas Huth <thuth@redhat.com> 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.
Yes, very cool.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] travis.yml: Test the s390-ccw build, too
2020-02-06 20:25 [PATCH] travis.yml: Test the s390-ccw build, too Thomas Huth
2020-02-06 22:40 ` Philippe Mathieu-Daudé
2020-02-07 9:47 ` Cornelia Huck
@ 2020-02-07 11:13 ` Alex Bennée
2 siblings, 0 replies; 6+ messages in thread
From: Alex Bennée @ 2020-02-07 11:13 UTC (permalink / raw)
To: Thomas Huth
Cc: David Hildenbrand, Cornelia Huck, qemu-devel,
Christian Borntraeger, qemu-s390x, Philippe Mathieu-Daudé
Thomas Huth <thuth@redhat.com> writes:
> 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.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
Queued to testing/next, thanks.
> ---
> .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} ;
> + else
> + $(exit $BUILD_RC);
> + fi
>
> # Release builds
> # The make-release script expect a QEMU version, so our tag must start with a 'v'.
--
Alex Bennée
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-02-07 11:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06 20:25 [PATCH] travis.yml: Test the s390-ccw build, too Thomas Huth
2020-02-06 22:40 ` Philippe Mathieu-Daudé
2020-02-07 9:47 ` Cornelia Huck
2020-02-07 9:56 ` Thomas Huth
2020-02-07 11:05 ` Christian Borntraeger
2020-02-07 11:13 ` Alex Bennée
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.