summaryrefslogtreecommitdiff
path: root/tests/gdimagefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-07-21 20:25:29 +0530
committerMike Frysinger <vapier@gentoo.org>2016-07-21 20:25:29 +0530
commit7d04b45481f73d58a2c15e90167ae4ab46c7b541 (patch)
treedc8b6c3b3d0d1f24e45bd354c46f3e07814510a3 /tests/gdimagefile
parentb0333689ef53c16c2f5313f5e97ba81d91576256 (diff)
downloadlibgd-7d04b45481f73d58a2c15e90167ae4ab46c7b541.tar.gz
tests: drop test_config.h
This header provides a single define: GDTEST_TOP_DIR. Move it to the build CPPFLAGS instead since it's a path var and that's the recommended way of handling these (by autotools standards), and it simplifies the build overall. It also harmonizes the autotool & cmake build paths. We localize this define to the gdtest/ subdir as we don't want any of the other tests using the path. We have gdtest helpers instead.
Diffstat (limited to 'tests/gdimagefile')
-rw-r--r--tests/gdimagefile/gdnametest.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/gdimagefile/gdnametest.c b/tests/gdimagefile/gdnametest.c
index 40dbc30..eef561a 100644
--- a/tests/gdimagefile/gdnametest.c
+++ b/tests/gdimagefile/gdnametest.c
@@ -4,7 +4,6 @@
#include "gd.h"
#include "gdtest.h"
-#include "test_config.h"
#define WIDTH 60
#define HEIGHT 50