summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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"