aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mtp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-11-20 10:47:14 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-11-20 10:47:14 +0100
commit475291355dc2c48dbde85559616dda415042ee13 (patch)
treed1d36a46f04a3e391cdb87f8a9f6ffca20191b57 /tests/mtp
parentfd8513d8c398b08d0f4812b6df5a8fac7e629969 (diff)
tests: Add GNU Autotest invocation for the tests we have here
Add some std output of the applications, integrate tests.
Diffstat (limited to 'tests/mtp')
-rw-r--r--tests/mtp/Makefile.am2
-rw-r--r--tests/mtp/mtp_parse_test.c1
-rw-r--r--tests/mtp/mtp_parse_test.ok1
3 files changed, 4 insertions, 0 deletions
diff --git a/tests/mtp/Makefile.am b/tests/mtp/Makefile.am
index 1f364b6..9e9292c 100644
--- a/tests/mtp/Makefile.am
+++ b/tests/mtp/Makefile.am
@@ -1,4 +1,6 @@
INCLUDES = $(all_includes) -I$(top_srcdir)/include -Wall
noinst_PROGRAMS = mtp_parse_test
+EXTRA_DIST = mtp_parse_test.ok
+
mtp_parse_test_SOURCES = mtp_parse_test.c
diff --git a/tests/mtp/mtp_parse_test.c b/tests/mtp/mtp_parse_test.c
index cd5d603..e21baed 100644
--- a/tests/mtp/mtp_parse_test.c
+++ b/tests/mtp/mtp_parse_test.c
@@ -636,5 +636,6 @@ int main(int argc, char **argv)
}
}
+ printf("All tests passed.\n");
return 0;
}
diff --git a/tests/mtp/mtp_parse_test.ok b/tests/mtp/mtp_parse_test.ok
new file mode 100644
index 0000000..828a010
--- /dev/null
+++ b/tests/mtp/mtp_parse_test.ok
@@ -0,0 +1 @@
+All tests passed.