summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@iki.fi>2015-10-01 21:44:49 +0300
committerTomi Valkeinen <tomi.valkeinen@iki.fi>2015-10-01 21:44:49 +0300
commit093b77fc295d1bc4694b32fed95da0fab78c4097 (patch)
treebc9a2430aea3a33604defb00a4e62295c3cf03f2 /tests
parentf1f87468e2cf1cc3e934efb37db902a62f1fc8dc (diff)
move test utils to libkmstest library
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
-rw-r--r--tests/db.cpp2
-rw-r--r--tests/testpat.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 7856034..a309bda 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -2,8 +2,8 @@ include_directories(${LIBDRM_INCLUDE_DIRS})
link_directories(${LIBDRM_LIBRARY_DIRS})
add_executable (db db.cpp)
-target_link_libraries(db kms++ ${LIBDRM_LIBRARIES})
+target_link_libraries(db kms++ kmstest ${LIBDRM_LIBRARIES})
add_executable (testpat testpat.cpp)
-target_link_libraries(testpat kms++ ${LIBDRM_LIBRARIES})
+target_link_libraries(testpat kms++ kmstest ${LIBDRM_LIBRARIES})
diff --git a/tests/db.cpp b/tests/db.cpp
index bfefcb8..9b7c973 100644
--- a/tests/db.cpp
+++ b/tests/db.cpp
@@ -6,7 +6,7 @@
#include <drm_fourcc.h>
#include "kms++.h"
-#include "utils/color.h"
+#include "color.h"
#include "test.h"
diff --git a/tests/testpat.cpp b/tests/testpat.cpp
index 9980407..419df5d 100644
--- a/tests/testpat.cpp
+++ b/tests/testpat.cpp
@@ -2,7 +2,7 @@
#include <algorithm>
#include "kms++.h"
-#include "utils/testpat.h"
+#include "testpat.h"
#include "test.h"