diff mbox series

[kvm-unit-tests,2/9] travis.yml: Rework the x86 64-bit tests

Message ID 20200924161612.144549-3-thuth@redhat.com (mailing list archive)
State New, archived
Headers show
Series Update travis CI | expand

Commit Message

Thomas Huth Sept. 24, 2020, 4:16 p.m. UTC
We currently have three test jobs here:

1) gcc, in-tree build
2) gcc, out-of-tree build
3) clang, in-tree build

Keeping everything in perspective, it should be sufficient to only use two
build jobs for this, one in-tree with one compiler, and one out-of-tree
with the other compiler.
So let's re-order the jobs accordingly now. And while we're at it, make
sure that all additional tests that work with the newer QEMU from Ubuntu
Focal now are tested, too, and that we check all possible tests with
Clang (i.e. the same list as with GCC except for the "realmode" test
that still causes some problems with Clang).

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 .travis.yml | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

Comments

Thomas Huth Sept. 25, 2020, 6:44 a.m. UTC | #1
On 24/09/2020 18.16, Thomas Huth wrote:
> We currently have three test jobs here:
> 
> 1) gcc, in-tree build
> 2) gcc, out-of-tree build
> 3) clang, in-tree build
> 
> Keeping everything in perspective, it should be sufficient to only use two
> build jobs for this, one in-tree with one compiler, and one out-of-tree
> with the other compiler.
> So let's re-order the jobs accordingly now. And while we're at it, make
> sure that all additional tests that work with the newer QEMU from Ubuntu
> Focal now are tested, too, and that we check all possible tests with
> Clang (i.e. the same list as with GCC except for the "realmode" test
> that still causes some problems with Clang).

This patch needs a rebase now since the realmode test has just been
fixed and added to .travis.yml ... I'll wait one or two more days for
review feedback, then respin a v2 with the conflict solved.

 Thomas
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 3b18ce5..4c35509 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,30 +12,30 @@  jobs:
       env:
       - CONFIG=""
       - BUILD_DIR="."
-      - TESTS="access asyncpf debug emulator ept hypercall hyperv_stimer
-               hyperv_synic idt_test intel_iommu ioapic ioapic-split
-               kvmclock_test msr pcid rdpru realmode rmap_chain s3 setjmp umip"
+      - TESTS="access asyncpf debug emulator ept hypercall hyperv_clock
+          hyperv_connections hyperv_stimer hyperv_synic idt_test intel_iommu
+          ioapic ioapic-split kvmclock_test memory msr pcid pcid-disabled
+          rdpru realmode rmap_chain s3 setjmp sieve smap smptest smptest3
+          syscall tsc tsc_adjust tsx-ctrl umip vmexit_cpuid vmexit_inl_pmtimer
+          vmexit_ipi vmexit_ipi_halt vmexit_mov_from_cr8 vmexit_mov_to_cr8
+          vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed
+          vmexit_vmcall vmx_apic_passthrough_thread xsave"
       - ACCEL="kvm"
 
     - addons:
         apt_packages: clang-10 qemu-system-x86
+      compiler: clang
       env:
       - CONFIG="--cc=clang-10"
-      - BUILD_DIR="."
-      - TESTS="access asyncpf debug emulator ept hypercall hyperv_stimer
-               hyperv_synic idt_test intel_iommu ioapic ioapic-split
-               kvmclock_test msr pcid rdpru rmap_chain s3 setjmp umip"
-      - ACCEL="kvm"
-
-    - addons:
-        apt_packages: gcc qemu-system-x86
-      env:
-      - CONFIG=""
       - BUILD_DIR="x86-builddir"
-      - TESTS="smptest smptest3 tsc tsc_adjust xsave vmexit_cpuid vmexit_vmcall
-               sieve vmexit_inl_pmtimer vmexit_ipi_halt vmexit_mov_from_cr8
-               vmexit_mov_to_cr8 vmexit_ple_round_robin vmexit_tscdeadline
-               vmexit_tscdeadline_immed  vmx_apic_passthrough_thread syscall"
+      - TESTS="access asyncpf debug emulator ept hypercall hyperv_clock
+          hyperv_connections hyperv_stimer hyperv_synic idt_test intel_iommu
+          ioapic ioapic-split kvmclock_test memory msr pcid pcid-disabled
+          rdpru rmap_chain s3 setjmp sieve smap smptest smptest3 syscall tsc
+          tsc_adjust tsx-ctrl umip vmexit_cpuid vmexit_inl_pmtimer vmexit_ipi
+          vmexit_ipi_halt vmexit_mov_from_cr8 vmexit_mov_to_cr8
+          vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed
+          vmexit_vmcall vmx_apic_passthrough_thread xsave"
       - ACCEL="kvm"
 
     - addons: