summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2012-12-03 19:44:14 +0000
committerKristian Høgsberg <krh@bitplanet.net>2012-12-06 15:53:03 -0500
commit4a822495fad43b8b971ed49184ebd4eebe24b674 (patch)
treea7fc91ebe89ad60f5811bf6b1a9f7bb2eedeecee /tests
parent80137f3afe749748d0350582730b89298ec1749c (diff)
Move matrix.[ch] to shared
This means it can be used for the calibration tool.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am4
-rw-r--r--tests/matrix-test.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 944879fd..b1b76ba8 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -36,8 +36,8 @@ noinst_PROGRAMS = $(setbacklight) matrix-test
matrix_test_SOURCES = \
matrix-test.c \
- $(top_srcdir)/src/matrix.c \
- $(top_srcdir)/src/matrix.h
+ $(top_srcdir)/shared/matrix.c \
+ $(top_srcdir)/shared/matrix.h
matrix_test_LDADD = -lm -lrt
setbacklight_SOURCES = \
diff --git a/tests/matrix-test.c b/tests/matrix-test.c
index cc78492f..5b0513f3 100644
--- a/tests/matrix-test.c
+++ b/tests/matrix-test.c
@@ -27,7 +27,7 @@
#include <signal.h>
#include <time.h>
-#include "matrix.h"
+#include "../shared/matrix.h"
struct inverse_matrix {
double LU[16]; /* column-major */