[clutter/msvc-support] Update Makefile.am in interactive tests



commit 069d20fcf660d89148e95813d90a8c412dfa7c69
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri May 13 17:02:22 2011 +0800

    Update Makefile.am in interactive tests
    
    Make test-interactive.bat not to include X11-only tests.  Will still
    improve on this though.

 tests/interactive/Makefile.am |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/tests/interactive/Makefile.am b/tests/interactive/Makefile.am
index 7e94dc5..931f11e 100644
--- a/tests/interactive/Makefile.am
+++ b/tests/interactive/Makefile.am
@@ -57,8 +57,6 @@ UNIT_TESTS = \
 	test-path-constraint.c \
 	test-snap-constraint.c
 
-NON_X11_TESTS = $(UNIT_TESTS)
-
 if X11_TESTS
 UNIT_TESTS += test-pixmap.c test-devices.c
 endif
@@ -93,9 +91,13 @@ stamp-test-interactive: Makefile test-interactive$(EXEEXT)
 
 ../../build/win32/test-interactive.bat: Makefile test-interactive$(EXEEXT)
 	echo "  GEN    test-interactive.bat" ; \
-	for i in $(NON_X11_TESTS); \
+	for i in $(UNIT_TESTS); \
 	do \
-		test_bin=$${i%*.c} ; \
+		case $$i in \
+		test-pixmap.c|test-devices.c) ;; \
+		*.c)	test_bin=$${i%*.c} \
+			;; \
+		esac; \
 		( echo "test-interactive $$test_bin" ) >> $(top_srcdir)/build/win32/test-interactive.bat ; \
 	done \
 	&& echo timestamp > $(@F)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]