From 7e7850a882216eb79e8d2ef3b7c25ab1c15632f0 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 17 Mar 2022 09:53:08 -0700
Subject: [PATCH] Renamed testhread to testthread
Fixes https://github.com/libsdl-org/sdl12-compat/issues/172
---
CMakeLists.txt | 2 +-
test/README | 2 +-
test/{testhread.c => testthread.c} | 0
3 files changed, 2 insertions(+), 2 deletions(-)
rename test/{testhread.c => testthread.c} (100%)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 46781ea..0e96b6b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -196,7 +196,7 @@ if(SDL12TESTS)
test_program(testerror "test/testerror.c")
test_program(testfile "test/testfile.c")
test_program(testgamma "test/testgamma.c")
- test_program(testthread "test/testhread.c")
+ test_program(testthread "test/testthread.c")
test_program(testiconv "test/testiconv.c")
test_program(testjoystick "test/testjoystick.c")
test_program(testkeys "test/testkeys.c")
diff --git a/test/README b/test/README
index 9cf5659..e158b4e 100644
--- a/test/README
+++ b/test/README
@@ -14,7 +14,6 @@ These are test programs for the SDL library:
testfile Tests RWops layer
testgamma Tests video device gamma ramp
testgl A very simple example of using OpenGL with SDL
- testhread Hacked up test of multi-threading
testiconv Tests international string conversion
testjoystick List joysticks and watch joystick events
testkeys List the available keyboard keys
@@ -26,6 +25,7 @@ These are test programs for the SDL library:
testplatform Tests types, endianness and cpu capabilities
testsem Tests SDL's semaphore implementation
testsprite Example of fast sprite movement on the screen
+ testthread Hacked up test of multi-threading
testtimer Test the timer facilities
testver Check the version and dynamic loading and endianness
testvidinfo Show the pixel format of the display and perfom the benchmark
diff --git a/test/testhread.c b/test/testthread.c
similarity index 100%
rename from test/testhread.c
rename to test/testthread.c