Author: raja
Date: 2005-03-18 09:08:39 -0500 (Fri, 18 Mar 2005)
New Revision: 41989
Modified:
trunk/mcs/build/ChangeLog
trunk/mcs/build/library.make
Log:
* library.make (TEST_FILES, $(test_response), $(btest_response)):
Be more robust to empty lines in test sources file.
Modified: trunk/mcs/build/ChangeLog
===================================================================
--- trunk/mcs/build/ChangeLog 2005-03-18 13:54:31 UTC (rev 41988)
+++ trunk/mcs/build/ChangeLog 2005-03-18 14:08:39 UTC (rev 41989)
@@ -1,3 +1,8 @@
+2005-03-18 Raja R Harinath <[EMAIL PROTECTED]>
+
+ * library.make (TEST_FILES, $(test_response), $(btest_response)):
+ Be more robust to empty lines in test sources file.
+
2005-03-14 Raja R Harinath <[EMAIL PROTECTED]>
* executable.make (install-local): Depend on all-local even when
Modified: trunk/mcs/build/library.make
===================================================================
--- trunk/mcs/build/library.make 2005-03-18 13:54:31 UTC (rev 41988)
+++ trunk/mcs/build/library.make 2005-03-18 14:08:39 UTC (rev 41989)
@@ -194,11 +194,11 @@
TEST_FILES =
ifdef HAVE_CS_TESTS
-TEST_FILES += `sed 's,^,Test/,' $(test_sourcefile)`
+TEST_FILES += `sed -e '/^$$/d' -e 's,^,Test/,' $(test_sourcefile)`
DISTFILES += $(test_sourcefile)
endif
ifdef HAVE_VB_TESTS
-TEST_FILES += `sed 's,^,Test/,' $(btest_sourcefile)`
+TEST_FILES += `sed -e '/^$$/d' -e 's,^,Test/,' $(btest_sourcefile)`
DISTFILES += $(btest_sourcefile)
endif
@@ -278,7 +278,7 @@
$(test_response): $(test_sourcefile)
@echo Creating $@ ...
- @sed 's,^,Test/,' $(test_sourcefile) | $(PLATFORM_CHANGE_SEPARATOR_CMD)
>$@
+ @sed -e '/^$$/d' -e 's,^,Test/,' $(test_sourcefile) |
$(PLATFORM_CHANGE_SEPARATOR_CMD) >$@
$(test_makefrag): $(test_response)
@echo Creating $@ ...
@@ -295,7 +295,7 @@
$(btest_response): $(btest_sourcefile)
@echo Creating $@ ...
- @sed 's,^,Test/,' $(btest_sourcefile) |
$(PLATFORM_CHANGE_SEPARATOR_CMD) >$@
+ @sed -e '/^$$/d' -e 's,^,Test/,' $(btest_sourcefile) |
$(PLATFORM_CHANGE_SEPARATOR_CMD) >$@
$(btest_makefrag): $(btest_response)
@echo Creating $@ ...
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches