From b2b934a928feb52e34211dabd527989607148253 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 5 Jul 2012 14:25:13 +0200 Subject: [PATCH] tests: add memory example --- configure.ac | 1 + tests/examples/Makefile.am | 1 + tests/examples/memory/.gitignore | 2 ++ tests/examples/memory/Makefile.am | 4 ++++ tests/examples/memory/memory_test.c | 14 ++++++++++++++ 5 files changed, 22 insertions(+) create mode 100644 tests/examples/memory/.gitignore create mode 100644 tests/examples/memory/Makefile.am create mode 100644 tests/examples/memory/memory_test.c diff --git a/configure.ac b/configure.ac index 6cd1508539..9d9efa3c22 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 f4e059bd54..7454b5c4ce 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 0000000000..39e6071ccd --- /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 0000000000..a8af2ea815 --- /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 0000000000..d63291b448 --- /dev/null +++ b/tests/examples/memory/memory_test.c @@ -0,0 +1,14 @@ +#include +#include +#include +#include + +#include + +int +main (int argc, char **argv) +{ + gst_init (&argc, &argv); + + return 0; +}