summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-06-15 15:12:04 -0400
committerMike Frysinger <vapier@gentoo.org>2016-06-15 15:12:04 -0400
commit5c4e3d68af913776e40de1c21a80df2765d3cb1f (patch)
tree22eb843addb22b2952fd6b86c0aa94a4c50711e0
parent3bb6aac422c9beaf043d67a8911f2c0222060699 (diff)
downloadlibgd-5c4e3d68af913776e40de1c21a80df2765d3cb1f.tar.gz
tests: cmake: add gdinterpolatedscale
Need to bump up the timeout on one of the tests as the default ctest behavior is to timeout after a few seconds. We really should fix this test to be faster though.
-rw-r--r--tests/CMakeLists.txt1
-rw-r--r--tests/gdinterpolatedscale/CMakeLists.txt3
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 751ee3a..9b9f0fc 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -49,6 +49,7 @@ if (BUILD_TEST)
gdimagesetpixel
gdimagestringft
gdimagestringftex
+ gdinterpolatedscale
gdnewfilectx
gdtest
gdtiled
diff --git a/tests/gdinterpolatedscale/CMakeLists.txt b/tests/gdinterpolatedscale/CMakeLists.txt
index af0fd8c..7957c15 100644
--- a/tests/gdinterpolatedscale/CMakeLists.txt
+++ b/tests/gdinterpolatedscale/CMakeLists.txt
@@ -4,3 +4,6 @@ LIST(APPEND TESTS_FILES
)
ADD_GD_TESTS()
+
+# Probably should speed this test up.
+set_tests_properties(test_${TEST_PREFIX}_gdTrivialResize PROPERTIES TIMEOUT 20)