Add an entry for this test to the unittests.cfg file and enable it in the CI pipelines. Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx> --- .gitlab-ci.yml | 2 +- .travis.yml | 2 +- x86/unittests.cfg | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea1aeaf..67f7d80 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,6 +77,6 @@ build-i386: - ./configure --arch=i386 - make -j2 - ACCEL=tcg ./run_tests.sh - eventinj port80 setjmp sieve tsc taskswitch taskswitch2 umip + cmpxchg8b eventinj port80 setjmp sieve tsc taskswitch taskswitch2 umip | tee results.txt - if grep -q FAIL results.txt ; then exit 1 ; fi diff --git a/.travis.yml b/.travis.yml index 53f8d7d..091d071 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ matrix: env: - CONFIG="--arch=i386" - BUILD_DIR="i386-builddir" - - TESTS="tsx-ctrl umip vmexit_cpuid vmexit_ipi vmexit_ipi_halt + - TESTS="cmpxchg8b tsx-ctrl umip vmexit_cpuid vmexit_ipi vmexit_ipi_halt vmexit_mov_from_cr8 vmexit_mov_to_cr8 vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed vmexit_vmcall setjmp" - ACCEL="kvm" diff --git a/x86/unittests.cfg b/x86/unittests.cfg index acdde10..51e4ba5 100644 --- a/x86/unittests.cfg +++ b/x86/unittests.cfg @@ -49,6 +49,10 @@ smp = 4 extra_params = -cpu qemu64 arch = x86_64 +[cmpxchg8b] +file = cmpxchg8b.flat +arch = i386 + [smptest] file = smptest.flat smp = 2 -- 2.18.1