[cheese] move remaining test programs to tests/
- From: Daniel G. Siegel <dgsiegel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [cheese] move remaining test programs to tests/
- Date: Thu, 3 Dec 2009 01:04:47 +0000 (UTC)
commit bc0668de6514dd8b01a4aef2f6a03779ebab2bbc
Author: daniel g. siegel <dgsiegel gnome org>
Date: Thu Dec 3 02:04:06 2009 +0100
move remaining test programs to tests/
.gitignore | 1 +
tests/Makefile.am | 4 +++-
{tools => tests}/test-webcam-button.c | 1 +
3 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 00d04ce..4e9ad01 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,3 +43,4 @@ _build_
*.swp
tests/cheese-test-widget
tests/cheese-test-monitor
+tests/test-webcam-button
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f354ea8..a8f2533 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -12,10 +12,11 @@ INCLUDES = \
-I top_srcdir@/libcheese \
$(NULL)
-noinst_PROGRAMS = cheese-test-widget cheese-test-monitor
+noinst_PROGRAMS = cheese-test-widget cheese-test-monitor test-webcam-button
cheese_test_widget_SOURCES = cheese-test-widget.c
cheese_test_monitor_SOURCES = cheese-test-monitor.c
+test_webcam_button_SOURCES = test-webcam-button.c
cheese_test_widget_LDADD = $(CHEESE_LIBS) \
$(top_builddir)/libcheese/libcheesecommon.la \
@@ -25,3 +26,4 @@ cheese_test_monitor_LDADD = $(CHEESE_LIBS) \
$(top_builddir)/libcheese/libcheesecommon.la \
$(top_builddir)/libcheese/libcheese-gtk.la \
$(NULL)
+test_webcam_button_LDADD = -lX11 -lXtst
diff --git a/tools/test-webcam-button.c b/tests/test-webcam-button.c
similarity index 98%
rename from tools/test-webcam-button.c
rename to tests/test-webcam-button.c
index b055c03..66768f8 100644
--- a/tools/test-webcam-button.c
+++ b/tests/test-webcam-button.c
@@ -18,4 +18,5 @@ int main (void)
XTestFakeKeyEvent (dpy, XKeysymToKeycode(dpy, XF86XK_WebCam), False, CurrentTime);
XCloseDisplay (dpy);
+ return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]