diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | runtime/Makefile.am | 13 |
2 files changed, 16 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index a213b9dab59..721ebce4401 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-01-25 Raja R Harinath <rharinath@novell.com> + + * runtime/Makefile.am ($(tmpinst)/config): New test support file. + Map 'MonoPosixHelper' to in-tree version. + ($(tmpinst)/bin/mono): Use it. + (mcs-do-run-test-profiles): Use $(tmpinst)/bin/mono as the RUNTIME. + 2005-01-20 Jonathan Pryor <jonpryor@vt.edu> * runtime/Makefile.am (centum_nunit_tests): Add class/Mono.Posix and diff --git a/runtime/Makefile.am b/runtime/Makefile.am index d986e62b006..2c6b89640aa 100644 --- a/runtime/Makefile.am +++ b/runtime/Makefile.am @@ -54,9 +54,9 @@ clean-local: -rm -fr $(symlinks) $(tmpinst) .wapi if INSTALL_2_0 -TEST_SUPPORT_FILES = $(tmpinst)/bin/mono $(tmpinst)/bin/mcs $(tmpinst)/bin/mbas $(tmpinst)/bin/ilasm $(tmpinst)/bin/gmcs +TEST_SUPPORT_FILES = $(tmpinst)/config $(tmpinst)/bin/mono $(tmpinst)/bin/mcs $(tmpinst)/bin/mbas $(tmpinst)/bin/ilasm $(tmpinst)/bin/gmcs else -TEST_SUPPORT_FILES = $(tmpinst)/bin/mono $(tmpinst)/bin/mcs $(tmpinst)/bin/mbas $(tmpinst)/bin/ilasm +TEST_SUPPORT_FILES = $(tmpinst)/config $(tmpinst)/bin/mono $(tmpinst)/bin/mcs $(tmpinst)/bin/mbas $(tmpinst)/bin/ilasm endif # List of NUnit testcases that should be 100% pass @@ -86,14 +86,19 @@ mcs-do-run-test-profiles: $(mkinstalldirs) $(tmpinst)/bin $(MAKE) $(TEST_SUPPORT_FILES) d=`pwd`; PATH=$$d/$(tmpinst)/bin:$$PATH ; export PATH ; \ - ( cd $(mcs_topdir) && $(MAKE) RUNTIME=$$d/mono-wrapper PROFILES='$(build_profiles)' run-test-profiles ) || ret=false ; \ + ( cd $(mcs_topdir) && $(MAKE) RUNTIME=$$d/$(tmpinst)/bin/mono PROFILES='$(build_profiles)' run-test-profiles ) || ret=false ; \ rm -fr $(tmpinst) ; $$ret check-local: mcs-do-test-profiles $(MAKE) $(test_select) mcs-do-run-test-profiles +$(tmpinst)/config: ../data/config + d=`cd ../support && pwd`; \ + sed 's,<configuration>,& <dllmap dll="MonoPosixHelper" target="'$$d/MonoPosixHelper.la'" />,' ../data/config > $@ + $(tmpinst)/bin/mono: mono-wrapper - cp mono-wrapper $@ + sed 's,/data/config",/runtime/$(tmpinst)/config",' mono-wrapper > $@ + chmod +x $@ $(tmpinst)/bin/mcs: $(MAKE) test-support-file target=$@ file=class/lib/default/mcs.exe |