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

werner at docs.openmoko.org werner at docs.openmoko.org
Thu Jun 26 03:46:00 CEST 2008


Author: werner
Date: 2008-06-26 03:45:58 +0200 (Thu, 26 Jun 2008)
New Revision: 4501

Modified:
   trunk/src/host/envedit/tests/Makefile
   trunk/src/host/envedit/tests/blanks
   trunk/src/host/envedit/tests/cmdline
   trunk/src/host/envedit/tests/comment
   trunk/src/host/envedit/tests/wrap
   trunk/src/host/envedit/xtests/Makefile
   trunk/src/host/envedit/xtests/dump
   trunk/src/host/envedit/xtests/edits
   trunk/src/host/envedit/xtests/output
   trunk/src/host/envedit/xtests/processed
Log:
Let's try this again. The previous solution didn't solve the problem when
manually running test, e.g., ./blanks

Thus we have to give the relative path for each invocation of Common.



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

Modified: trunk/src/host/envedit/tests/blanks
===================================================================
--- trunk/src/host/envedit/tests/blanks	2008-06-25 23:55:02 UTC (rev 4500)
+++ trunk/src/host/envedit/tests/blanks	2008-06-26 01:45:58 UTC (rev 4501)
@@ -1,5 +1,5 @@
 #!/bin/sh
-. Common
+. ./Common
 
 # -----------------------------------------------------------------------------
 

Modified: trunk/src/host/envedit/tests/cmdline
===================================================================
--- trunk/src/host/envedit/tests/cmdline	2008-06-25 23:55:02 UTC (rev 4500)
+++ trunk/src/host/envedit/tests/cmdline	2008-06-26 01:45:58 UTC (rev 4501)
@@ -1,5 +1,5 @@
 #!/bin/sh
-. Common
+. ./Common
 
 # -----------------------------------------------------------------------------
 

Modified: trunk/src/host/envedit/tests/comment
===================================================================
--- trunk/src/host/envedit/tests/comment	2008-06-25 23:55:02 UTC (rev 4500)
+++ trunk/src/host/envedit/tests/comment	2008-06-26 01:45:58 UTC (rev 4501)
@@ -1,5 +1,5 @@
 #!/bin/sh
-. Common
+. ./Common
 
 # -----------------------------------------------------------------------------
 

Modified: trunk/src/host/envedit/tests/wrap
===================================================================
--- trunk/src/host/envedit/tests/wrap	2008-06-25 23:55:02 UTC (rev 4500)
+++ trunk/src/host/envedit/tests/wrap	2008-06-26 01:45:58 UTC (rev 4501)
@@ -1,5 +1,5 @@
 #!/bin/sh
-. Common
+. ./Common
 
 # -----------------------------------------------------------------------------
 

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

Modified: trunk/src/host/envedit/xtests/dump
===================================================================
--- trunk/src/host/envedit/xtests/dump	2008-06-25 23:55:02 UTC (rev 4500)
+++ trunk/src/host/envedit/xtests/dump	2008-06-26 01:45:58 UTC (rev 4501)
@@ -1,5 +1,5 @@
 #!/bin/sh
-. Common
+. ./Common
 
 # -----------------------------------------------------------------------------
 

Modified: trunk/src/host/envedit/xtests/edits
===================================================================
--- trunk/src/host/envedit/xtests/edits	2008-06-25 23:55:02 UTC (rev 4500)
+++ trunk/src/host/envedit/xtests/edits	2008-06-26 01:45:58 UTC (rev 4501)
@@ -1,5 +1,5 @@
 #!/bin/sh
-. Common
+. ./Common
 
 # -----------------------------------------------------------------------------
 

Modified: trunk/src/host/envedit/xtests/output
===================================================================
--- trunk/src/host/envedit/xtests/output	2008-06-25 23:55:02 UTC (rev 4500)
+++ trunk/src/host/envedit/xtests/output	2008-06-26 01:45:58 UTC (rev 4501)
@@ -1,5 +1,5 @@
 #!/bin/sh
-. Common
+. ./Common
 
 # -----------------------------------------------------------------------------
 

Modified: trunk/src/host/envedit/xtests/processed
===================================================================
--- trunk/src/host/envedit/xtests/processed	2008-06-25 23:55:02 UTC (rev 4500)
+++ trunk/src/host/envedit/xtests/processed	2008-06-26 01:45:58 UTC (rev 4501)
@@ -1,5 +1,5 @@
 #!/bin/sh
-. Common
+. ./Common
 
 # -----------------------------------------------------------------------------
 





More information about the commitlog mailing list