summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--tests/examples/Makefile.am1
-rw-r--r--tests/examples/memory/.gitignore2
-rw-r--r--tests/examples/memory/Makefile.am4
-rw-r--r--tests/examples/memory/memory_test.c14
5 files changed, 22 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6cd150853..9d9efa3c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -763,6 +763,7 @@ tests/examples/stepping/Makefile
tests/examples/helloworld/Makefile
tests/examples/launch/Makefile
tests/examples/manual/Makefile
+tests/examples/memory/Makefile
tests/examples/metadata/Makefile
tests/examples/queue/Makefile
tests/examples/streams/Makefile
diff --git a/tests/examples/Makefile.am b/tests/examples/Makefile.am
index f4e059bd5..7454b5c4c 100644
--- a/tests/examples/Makefile.am
+++ b/tests/examples/Makefile.am
@@ -15,6 +15,7 @@ always_dirs = \
controller \
helloworld \
manual \
+ memory \
metadata \
queue \
stepping \
diff --git a/tests/examples/memory/.gitignore b/tests/examples/memory/.gitignore
new file mode 100644
index 000000000..39e6071cc
--- /dev/null
+++ b/tests/examples/memory/.gitignore
@@ -0,0 +1,2 @@
+memory_test
+*.gcno
diff --git a/tests/examples/memory/Makefile.am b/tests/examples/memory/Makefile.am
new file mode 100644
index 000000000..a8af2ea81
--- /dev/null
+++ b/tests/examples/memory/Makefile.am
@@ -0,0 +1,4 @@
+noinst_PROGRAMS = memory_test
+
+memory_test_LDADD = $(GST_OBJ_LIBS)
+memory_test_CFLAGS = $(GST_OBJ_CFLAGS)
diff --git a/tests/examples/memory/memory_test.c b/tests/examples/memory/memory_test.c
new file mode 100644
index 000000000..d63291b44
--- /dev/null
+++ b/tests/examples/memory/memory_test.c
@@ -0,0 +1,14 @@
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <sys/times.h>
+
+#include <gst/gst.h>
+
+int
+main (int argc, char **argv)
+{
+ gst_init (&argc, &argv);
+
+ return 0;
+}