SF.net SVN: pel:[530] trunk/test/run-tests.php

2010-02-24 Thread lsolesen
Revision: 530
  http://pel.svn.sourceforge.net/pel/?rev=530view=rev
Author:   lsolesen
Date: 2010-02-24 10:14:14 + (Wed, 24 Feb 2010)

Log Message:
---
Makes a test whether the config.local.php is present.

Modified Paths:
--
trunk/test/run-tests.php

Modified: trunk/test/run-tests.php
===
--- trunk/test/run-tests.php2010-02-24 09:57:51 UTC (rev 529)
+++ trunk/test/run-tests.php2010-02-24 10:14:14 UTC (rev 530)
@@ -26,6 +26,11 @@
 
 error_reporting(E_ALL);
 
+if (!file_exists(dirname(__FILE__))) {
+echo Create config.local.php;
+exit(1);
+}
+
 require_once 'config.local.php';
 
 if (!defined('SIMPLE_TEST')) {
@@ -54,7 +59,7 @@
 require_once(SIMPLE_TEST . 'unit_tester.php');
 require_once(SIMPLE_TEST . 'reporter.php');
 
-if ($argc  1) {
+if (!empty($argc) AND $argc  1) {
   /* If command line arguments are given, then only test those. */
   array_shift($argv);
   $tests = $argv;
@@ -84,5 +89,3 @@
   $group-addTestFile($test);
 
 $group-run(new TextReporter());
-
-?
\ No newline at end of file


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
PEL-commits mailing list
pel-comm...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pel-commits


[ pel-Bugs-1805209 ] PEL Destroys the MakerNote info

2010-02-24 Thread SourceForge.net
Bugs item #1805209, was opened at 2007-09-30 18:25
Message generated for change (Comment added) made by lsolesen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=650322aid=1805209group_id=108380

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Data Output
Group: None
Status: Closed
Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Lars Olesen (lsolesen)
Summary: PEL Destroys the MakerNote info

Initial Comment:
Hi guys, there is the real problem with the subject. When I add new info (such 
as Image_Description, Artist, Copyright etc) into the photo file, I got this 
trouble. I've been testing the Canon  Nikon photos. All of them have been 
really destroyed... Please, look at this problem... Thanks a million for your 
soft. =Mike

--

Comment By: Lars Olesen (lsolesen)
Date: 2010-02-24 10:16

Message:
Closed as no additional info has been provided.

--

Comment By: Lars Olesen (lsolesen)
Date: 2009-01-16 17:45

Message:
I will close this bug, if you cannot supply either a failing test case or
the images?

--

Comment By: Lars Olesen (lsolesen)
Date: 2008-04-23 14:29

Message:
Logged In: YES 
user_id=1766074
Originator: NO

Could you supply a failing test case written in SimpleTest so we know the
exact problem. Or could you include the photo?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=650322aid=1805209group_id=108380

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
PEL-devel mailing list
PEL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pel-devel


SF.net SVN: pel:[532] trunk/test/run-tests.php

2010-02-24 Thread lsolesen
Revision: 532
  http://pel.svn.sourceforge.net/pel/?rev=532view=rev
Author:   lsolesen
Date: 2010-02-24 10:30:24 + (Wed, 24 Feb 2010)

Log Message:
---
Added config.local.php and config.local.example.php to ignored tests.

Modified Paths:
--
trunk/test/run-tests.php

Modified: trunk/test/run-tests.php
===
--- trunk/test/run-tests.php2010-02-24 10:29:57 UTC (rev 531)
+++ trunk/test/run-tests.php2010-02-24 10:30:24 UTC (rev 532)
@@ -26,7 +26,7 @@
 
 error_reporting(E_ALL);
 
-if (!file_exists(dirname(__FILE__))) {
+if (!file_exists(dirname(__FILE__) . '/config.local.php')) {
 echo Create config.local.php;
 exit(1);
 }
@@ -66,7 +66,7 @@
   $group = new GroupTest('Selected PEL tests');
 } else {
   /* otherwive test all .php files, except this file (run-tests.php). */
-  $tests = array_diff(glob('*.php'), array('run-tests.php'));
+  $tests = array_diff(glob('*.php'), array('run-tests.php', 
'config.local.php', 'config.local.example.php'));
   $group = new GroupTest('All PEL tests');
 
   /* Also test all image tests (if they are available). */


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
PEL-commits mailing list
pel-comm...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pel-commits