[Fusionforge-commits] FusionForge branch master updated. 348227093494bc386b02f0ebb0f7b4abac3f5c87

Alain Peyrat aljeux at fusionforge.org
Wed Oct 24 14:35:28 CEST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  348227093494bc386b02f0ebb0f7b4abac3f5c87 (commit)
      from  61f51e9ac8c8ef0a81b113b0ab9313578f572aa7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 348227093494bc386b02f0ebb0f7b4abac3f5c87
Author: Alain Peyrat <alain.peyrat at alcatel-lucent.com>
Date:   Wed Oct 24 14:35:20 2012 +0200

    Update test with relocation of vendor stuff

diff --git a/tests/code/syntax/SyntaxTest.php b/tests/code/syntax/SyntaxTest.php
index c726808..e8188a3 100644
--- a/tests/code/syntax/SyntaxTest.php
+++ b/tests/code/syntax/SyntaxTest.php
@@ -41,8 +41,8 @@ class Syntax_Tests extends PHPUnit_Framework_TestCase
 	public function testUTF8Chars()
 	{
 		$root = dirname(dirname(dirname(dirname(__FILE__))));
-		// We don't pass syntax tests on 3rd party libraries in src/lib/vendor
-		$exclude_third_party_libs="-path '$root/src/lib/vendor' -prune -o ";
+		// We don't pass syntax tests on 3rd party libraries in src/vendor
+		$exclude_third_party_libs="-path '$root/src/vendor' -prune -o ";
 		$output = `find $root/src $root/tests $exclude_third_party_libs -name '*.php' -type f -print | xargs isutf8`;
 		$this->assertEquals('', $output);
 		$output = `find $root/src $root/tests $exclude_third_party_libs -name '*.css' -type f -print | xargs isutf8`;
@@ -94,8 +94,8 @@ class Syntax_Tests extends PHPUnit_Framework_TestCase
 	public function testEmptyLastLine()
 	{
 		$root = dirname(dirname(dirname(dirname(__FILE__))));
-		// We don't pass syntax tests on 3rd party libraries in src/lib/vendor
-		$exclude_third_party_libs="-path '$root/src/lib/vendor' -prune -o ";
+		// We don't pass syntax tests on 3rd party libraries in src/vendor
+		$exclude_third_party_libs="-path '$root/src/vendor' -prune -o ";
 		$output = `find $root/src $root/tests $exclude_third_party_libs -name '*.php' -type f -print | while read i ; do [ -s \$i ] && [ -z "\$(tail -n 1 \$i)" ] && echo \$i ; done`;
 		$this->assertEquals('', $output);
 	}

-----------------------------------------------------------------------

Summary of changes:
 tests/code/syntax/SyntaxTest.php |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list