@@ -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
@@ -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"
@@ -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
Add an entry for this test to the unittests.cfg file and enable it in the CI pipelines. Signed-off-by: Thomas Huth <thuth@redhat.com> --- .gitlab-ci.yml | 2 +- .travis.yml | 2 +- x86/unittests.cfg | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-)