Skip to contentSkip to conversation

New s390x test for CPU model + CI fix for ARM

GIT PULL Thomas Huth 1 participant 3 messages Aug 2, 2019 KVM

lore
Share & tools
lore
#0 lore raw

Hi Paolo, hi Radim,

the following changes since commit 2130fd4154ad5cb2841d831c0c8b92d19b642fd5:

tscdeadline_latency: Check condition first before loop (2019-07-11 14:26:53 +0200)

are available in the Git repository at:

https://gitlab.com/huth/kvm-unit-tests.git tags/pull-request-2019-08-02

for you to fetch changes up to 0d72123587961d31897868b8bda820759cf1ef9d:

Force GCC version to 8.2 for compiling the ARM tests (2019-08-02 09:14:15 +0200)

----------------------------------------------------------------
- New test for facility dependencies on s390x
- Work around problem with GCC 9 in the gitlab CI
----------------------------------------------------------------

Christian Borntraeger (1):
kvm-unit-tests: s390: add cpu model checks

Thomas Huth (1):
Force GCC version to 8.2 for compiling the ARM tests

 .gitlab-ci.yml      |  2 +-
 s390x/Makefile      |  1 +
 s390x/cpumodel.c    | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 s390x/unittests.cfg |  3 +++
 4 files changed, 65 insertions(+), 1 deletion(-)
 create mode 100644 s390x/cpumodel.c
#1 lore raw

[kvm-unit-tests PULL 1/2] kvm-unit-tests: s390: add cpu model checks

From: Christian Borntraeger <[email protected]>

This adds a check for documented stfle dependencies.

[thuth: Added missing report_prefix_pop() at the end]
---
 s390x/Makefile      |  1 +
 s390x/cpumodel.c    | 60 +++++++++++++++++++++++++++++++++++++++++++++
 s390x/unittests.cfg |  3 +++
 3 files changed, 64 insertions(+)
 create mode 100644 s390x/cpumodel.c
s390x/Makefile +1 -0
index 1f21ddb..574a9a2 100644
@@ -11,6 +11,7 @@ tests += $(TEST_DIR)/cmm.elf
 tests += $(TEST_DIR)/vector.elf
 tests += $(TEST_DIR)/gs.elf
 tests += $(TEST_DIR)/iep.elf
+tests += $(TEST_DIR)/cpumodel.elf
 tests_binary = $(patsubst %.elf,%.bin,$(tests))
 
 all: directories test_cases test_cases_binary
s390x/cpumodel.c new file +60 -0

60 lines not on this page · raw message

s390x/unittests.cfg +3 -0
index 546b1f2..db58bad 100644
@@ -61,3 +61,6 @@ file = gs.elf
 
 [iep]
 file = iep.elf
+
+[cpumodel]
+file = cpumodel.elf
Signature · 1 line
2.21.0
#2 lore raw

[kvm-unit-tests PULL 2/2] Force GCC version to 8.2 for compiling the ARM tests

In reply to Thomas Huth

The kvm-unit-tests are currently completely failing with GCC 9.1. So let's use GCC 8.2 again for compiling the ARM tests to fix the CI pipelines on gitlab.

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.gitlab-ci.yml +1 -1
index a9dc16a..fbf3328 100644
@@ -17,7 +17,7 @@ build-aarch64:
 
 build-arm:
  script:
- - dnf install -y qemu-system-arm gcc-arm-linux-gnu
+ - dnf install -y qemu-system-arm gcc-arm-linux-gnu-8.2.1-1.fc30.2
  - ./configure --arch=arm --cross-prefix=arm-linux-gnu-
  - make -j2
  - ACCEL=tcg ./run_tests.sh
Signature · 1 line
2.21.0