Author: jwilcox
Date: 2005-06-18 16:44:44 -0400 (Sat, 18 Jun 2005)
New Revision: 46192
Modified:
trunk/ipod-sharp/ChangeLog
trunk/ipod-sharp/src/Makefile.am
trunk/ipod-sharp/tests/Makefile.am
trunk/ipod-sharp/tests/runtests.sh
Log:
2005-06-18 James Willcox <[EMAIL PROTECTED]>
* tests/Makefile.am:
* tests/runtests.sh:
Fix things so they work when builddir != srcdir.
Modified: trunk/ipod-sharp/ChangeLog
===================================================================
--- trunk/ipod-sharp/ChangeLog 2005-06-18 20:31:58 UTC (rev 46191)
+++ trunk/ipod-sharp/ChangeLog 2005-06-18 20:44:44 UTC (rev 46192)
@@ -1,5 +1,12 @@
2005-06-18 James Willcox <[EMAIL PROTECTED]>
+ * tests/Makefile.am:
+ * tests/runtests.sh:
+
+ Fix things so they work when builddir != srcdir.
+
+2005-06-18 James Willcox <[EMAIL PROTECTED]>
+
* src/Equalizer.cs: added
* src/Device.cs: add equalizer bits
* src/SongDatabase.cs: clean up some
Modified: trunk/ipod-sharp/src/Makefile.am
===================================================================
--- trunk/ipod-sharp/src/Makefile.am 2005-06-18 20:31:58 UTC (rev 46191)
+++ trunk/ipod-sharp/src/Makefile.am 2005-06-18 20:44:44 UTC (rev 46192)
@@ -38,7 +38,6 @@
$(GACUTIL) /i $(ASSEMBLY) /package $(PACKAGE) /gacdir $(libdir) /root
$(DESTDIR)$(libdir)
EXTRA_DIST = \
- ipod-sharp.dll.config \
$(ASSEMBLY_SOURCES) \
ipod-sharp.snk \
$(srcdir)/en/*.xml \
Modified: trunk/ipod-sharp/tests/Makefile.am
===================================================================
--- trunk/ipod-sharp/tests/Makefile.am 2005-06-18 20:31:58 UTC (rev 46191)
+++ trunk/ipod-sharp/tests/Makefile.am 2005-06-18 20:44:44 UTC (rev 46192)
@@ -17,13 +17,15 @@
$(srcdir)/ipod-test-db-shuffle-a.tar.gz
check: $(TEST_ASSEMBLY)
- for asm in $(TEST_TARBALLS); do $(srcdir)/runtests.sh $$asm; done;
+ for asm in $(TEST_TARBALLS); do NUNIT_DIR=$(srcdir)
$(srcdir)/runtests.sh $$asm; done;
CLEANFILES = $(TEST_ASSEMBLY)
EXTRA_DIST = \
$(TEST_SOURCES) \
$(TEST_TARBALLS) \
+ runtests.sh \
+ mktest.sh \
nunit.core.dll \
nunit.framework.dll \
nunit.util.dll \
Modified: trunk/ipod-sharp/tests/runtests.sh
===================================================================
--- trunk/ipod-sharp/tests/runtests.sh 2005-06-18 20:31:58 UTC (rev 46191)
+++ trunk/ipod-sharp/tests/runtests.sh 2005-06-18 20:44:44 UTC (rev 46192)
@@ -17,4 +17,8 @@
export IPOD_SHARP_TEST_TARBALL
-exec mono --debug nunit-console.exe /nologo ipod-sharp-tests.dll
+if test -z $NUNIT_DIR; then
+ NUNIT_DIR="."
+fi;
+
+exec mono --debug $NUNIT_DIR/nunit-console.exe /nologo ipod-sharp-tests.dll
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches