From 72cf9c0ef4936e0979f21832a5027b7b5068a6b3 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Fri, 29 Mar 2024 21:11:35 +0100
Subject: [PATCH] test: don't run testautomation in parallel
---
test/CMakeLists.txt | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index ded73ee0f84fd..9dee613659537 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -624,10 +624,11 @@ foreach(TARGET ${SDL_TEST_EXECUTABLES})
endforeach()
add_sdl_test(testautomation-no-simd testautomation)
-set_property(TEST testautomation-no-simd APPEND PROPERTY ENVIRONMENT "SDL_CPU_FEATURE_MASK=-all")
-
add_sdl_test(testplatform-no-simd testplatform)
-set_property(TEST testplatform-no-simd APPEND PROPERTY ENVIRONMENT "SDL_CPU_FEATURE_MASK=-all")
+set_property(TEST testautomation-no-simd testplatform-no-simd APPEND PROPERTY ENVIRONMENT "SDL_CPU_FEATURE_MASK=-all")
+
+# testautomation creates temporary files which might conflict
+set_property(TEST testautomation-no-simd testautomation PROPERTY RUN_SERIAL TRUE)
if(SDL_INSTALL_TESTS)
if(RISCOS)