From b72b5d0f99f005851e53daa47c0f7efe132dbf0b Mon Sep 17 00:00:00 2001
From: Pierre Wendling <[EMAIL REDACTED]>
Date: Wed, 4 May 2022 12:39:49 -0400
Subject: [PATCH] Test: Add math automation test suite.
---
test/testautomation_math.c | 10 ++++++++++
test/testautomation_suites.h | 2 ++
2 files changed, 12 insertions(+)
create mode 100644 test/testautomation_math.c
diff --git a/test/testautomation_math.c b/test/testautomation_math.c
new file mode 100644
index 00000000000..5ac6ea3f801
--- /dev/null
+++ b/test/testautomation_math.c
@@ -0,0 +1,10 @@
+/**
+ * Math test suite
+ */
+
+#include "SDL.h"
+#include "SDL_test.h"
+
+static const SDLTest_TestCaseReference* mathTests[] = {NULL};
+
+SDLTest_TestSuiteReference mathTestSuite = {"Math", NULL, mathTests, NULL};
diff --git a/test/testautomation_suites.h b/test/testautomation_suites.h
index b5f921e3dae..a8c886384ac 100644
--- a/test/testautomation_suites.h
+++ b/test/testautomation_suites.h
@@ -27,6 +27,7 @@ extern SDLTest_TestSuiteReference syswmTestSuite;
extern SDLTest_TestSuiteReference timerTestSuite;
extern SDLTest_TestSuiteReference videoTestSuite;
extern SDLTest_TestSuiteReference hintsTestSuite;
+extern SDLTest_TestSuiteReference mathTestSuite;
/* All test suites */
SDLTest_TestSuiteReference *testSuites[] = {
@@ -48,6 +49,7 @@ SDLTest_TestSuiteReference *testSuites[] = {
&timerTestSuite,
&videoTestSuite,
&hintsTestSuite,
+ &mathTestSuite,
NULL
};