r4500 - in trunk/src/host/envedit: tests xtests

werner at docs.openmoko.org werner at docs.openmoko.org
Thu Jun 26 01:55:04 CEST 2008


Author: werner
Date: 2008-06-26 01:55:02 +0200 (Thu, 26 Jun 2008)
New Revision: 4500

Modified:
   trunk/src/host/envedit/tests/Common
   trunk/src/host/envedit/tests/Makefile
   trunk/src/host/envedit/xtests/Makefile
Log:
- tests/Common: invoke "echo" as /bin/echo to avoid backslash interpretation
- tests/Makefile, xtests/Makefile: set PATH to include .



Modified: trunk/src/host/envedit/tests/Common
===================================================================
--- trunk/src/host/envedit/tests/Common	2008-06-25 21:00:31 UTC (rev 4499)
+++ trunk/src/host/envedit/tests/Common	2008-06-25 23:55:02 UTC (rev 4500)
@@ -11,7 +11,7 @@
 
 setup()
 {
-    echo -n "$1: " 1>&2
+    /bin/echo -n "$1: " 1>&2
     shift
     ../envedit -o _env "$@" -P ../envcpp.pl -f - || fail
 }

Modified: trunk/src/host/envedit/tests/Makefile
===================================================================
--- trunk/src/host/envedit/tests/Makefile	2008-06-25 21:00:31 UTC (rev 4499)
+++ trunk/src/host/envedit/tests/Makefile	2008-06-25 23:55:02 UTC (rev 4500)
@@ -4,7 +4,7 @@
 
 tests:
 	for n in [abcdefghijklmnopqrstuvwxyz]*; do \
-	  SCRIPT=$$n . ./$$n; done; \
+	  SCRIPT=$$n PATH=.:$$PATH . ./$$n; done; \
 	  echo "Passed all $$passed tests" 2>&1
 
 clean:

Modified: trunk/src/host/envedit/xtests/Makefile
===================================================================
--- trunk/src/host/envedit/xtests/Makefile	2008-06-25 21:00:31 UTC (rev 4499)
+++ trunk/src/host/envedit/xtests/Makefile	2008-06-25 23:55:02 UTC (rev 4500)
@@ -4,7 +4,7 @@
 
 tests:
 	for n in [abcdefghijklmnopqrstuvwxyz]*; do \
-	  SCRIPT=$$n . ./$$n; done; \
+	  SCRIPT=$$n PATH=.:$$PATH . ./$$n; done; \
 	  echo "Passed all $$passed tests" 2>&1
 
 clean:





More information about the commitlog mailing list