All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 1/7] android/tester: Add android-tester
@ 2013-12-11 10:46 Marcin Kraglak
  2013-12-11 10:46 ` [PATCH v4 2/7] android/tester: Add pre-setup and post-teardown routines Marcin Kraglak
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Marcin Kraglak @ 2013-12-11 10:46 UTC (permalink / raw)
  To: linux-bluetooth

This commit add android-tester.c to tree and Makefile.am.
This will contain set of unit tests for testing android daemon.
---
 .gitignore               |  1 +
 android/Makefile.am      |  4 ++++
 android/android-tester.c | 21 +++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 android/android-tester.c

diff --git a/.gitignore b/.gitignore
index 2d3435a..c570728 100644
--- a/.gitignore
+++ b/.gitignore
@@ -107,3 +107,4 @@ unit/test-*.trs
 android/system-emulator
 android/bluetoothd
 android/haltest
+android/android-tester
diff --git a/android/Makefile.am b/android/Makefile.am
index df04762..0768985 100644
--- a/android/Makefile.am
+++ b/android/Makefile.am
@@ -83,6 +83,10 @@ android_haltest_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android \
 
 android_haltest_LDFLAGS = -pthread
 
+noinst_PROGRAMS += android/android-tester
+
+android_android_tester_SOURCES = android/android-tester.c
+
 endif
 
 EXTRA_DIST += android/Android.mk android/hal-ipc-api.txt android/README \
diff --git a/android/android-tester.c b/android/android-tester.c
new file mode 100644
index 0000000..f5c42b0
--- /dev/null
+++ b/android/android-tester.c
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2013 Intel Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+int main(int argc, char *argv[])
+{
+	return 0;
+}
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-12-11 11:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-11 10:46 [PATCH v4 1/7] android/tester: Add android-tester Marcin Kraglak
2013-12-11 10:46 ` [PATCH v4 2/7] android/tester: Add pre-setup and post-teardown routines Marcin Kraglak
2013-12-11 10:46 ` [PATCH v4 3/7] android/tester: Start emulator in new process Marcin Kraglak
2013-12-11 11:10   ` Andrei Emeltchenko
2013-12-11 10:46 ` [PATCH v4 4/7] android/tester: Add stack initialization of stack in setup Marcin Kraglak
2013-12-11 10:46 ` [PATCH v4 5/7] android/tester: Make HAL logging wrapper print to stderr instead of stdout Marcin Kraglak
2013-12-11 10:46 ` [PATCH v4 6/7] android/tester: Add basic enable test Marcin Kraglak
2013-12-11 10:46 ` [PATCH v4 7/7] android/tester: Add status check and adapter enable, disable test cases Marcin Kraglak
2013-12-11 11:15 ` [PATCH v4 1/7] android/tester: Add android-tester Luiz Augusto von Dentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.