aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-04-20 11:40:40 +0200
committerDiego Biurrun <diego@biurrun.de>2016-05-13 14:55:56 +0200
commita6a750c7ef240b72ce01e9653343a0ddf247d196 (patch)
tree5c472bb92b5264f19b9270b0caf8a8565b071cef /libswscale
parent257f00ec1ab06a2a161f535036c6512f3fc8e801 (diff)
downloadffmpeg-a6a750c7ef240b72ce01e9653343a0ddf247d196.tar.gz
tests: Move all test programs to a subdirectory
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/tests/.gitignore2
-rw-r--r--libswscale/tests/colorspace.c (renamed from libswscale/colorspace-test.c)5
-rw-r--r--libswscale/tests/swscale.c (renamed from libswscale/swscale-test.c)3
3 files changed, 7 insertions, 3 deletions
diff --git a/libswscale/tests/.gitignore b/libswscale/tests/.gitignore
new file mode 100644
index 0000000000..0ac3691ecd
--- /dev/null
+++ b/libswscale/tests/.gitignore
@@ -0,0 +1,2 @@
+/colorspace
+/swscale
diff --git a/libswscale/colorspace-test.c b/libswscale/tests/colorspace.c
index fbf595d4c1..962b11a857 100644
--- a/libswscale/colorspace-test.c
+++ b/libswscale/tests/colorspace.c
@@ -23,10 +23,11 @@
#include <stdlib.h>
#include <inttypes.h>
-#include "swscale.h"
-#include "rgb2rgb.h"
#include "libavutil/mem.h"
+#include "libswscale/rgb2rgb.h"
+#include "libswscale/swscale.h"
+
#define SIZE 1000
#define srcByte 0x55
#define dstByte 0xBB
diff --git a/libswscale/swscale-test.c b/libswscale/tests/swscale.c
index 8063519be1..309ef812c7 100644
--- a/libswscale/swscale-test.c
+++ b/libswscale/tests/swscale.c
@@ -31,7 +31,8 @@
#include "libavutil/crc.h"
#include "libavutil/pixdesc.h"
#include "libavutil/lfg.h"
-#include "swscale.h"
+
+#include "libswscale/swscale.h"
/* HACK Duplicated from swscale_internal.h.
* Should be removed when a cleaner pixel format system exists. */