[Avida-SVN] r2377 - in development: Avida.xcodeproj source/script

brysonda at myxo.css.msu.edu brysonda at myxo.css.msu.edu
Mon Feb 25 13:05:39 PST 2008


Author: brysonda
Date: 2008-02-25 16:05:39 -0500 (Mon, 25 Feb 2008)
New Revision: 2377

Modified:
   development/Avida.xcodeproj/project.pbxproj
   development/source/script/cParser.h
   development/source/script/cScriptObject.h
Log:
Call AS tests within avida-s target.

Modified: development/Avida.xcodeproj/project.pbxproj
===================================================================
--- development/Avida.xcodeproj/project.pbxproj	2008-02-25 20:44:20 UTC (rev 2376)
+++ development/Avida.xcodeproj/project.pbxproj	2008-02-25 21:05:39 UTC (rev 2377)
@@ -1756,6 +1756,7 @@
 				70DCAC9F097AF7CC002F8733 /* Sources */,
 				70DCAD07097AF7CC002F8733 /* Frameworks */,
 				70DCAD08097AF7CC002F8733 /* CopyFiles */,
+				70D845480D73677E00601F5A /* ShellScript */,
 			);
 			buildRules = (
 				70DCAD2A097AF865002F8733 /* PBXBuildRule */,
@@ -1826,7 +1827,22 @@
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
 			shellScript = "mkdir -p $DERIVED_FILE_DIR\nif (test -x /usr/bin/svnversion)\nthen svncmd=/usr/bin/svnversion\nelif (test -x /usr/local/bin/svnversion)\nthen svncmd=/usr/local/bin/svnversion\nelif (test -x /usr/local/svn/bin/svnversion)\nthen svncmd=/usr/local/svn/bin/svnversion\nelse\n  echo \"Warning: 'svn' not found, please install subversion\"\n  if [[ ! -f $DERIVED_FILE_DIR/revision.h ]]\n  then\n    echo \"#ifndef revision_h\" > $DERIVED_FILE_DIR/revision.h\n    echo \"#define revision_h\" >> $DERIVED_FILE_DIR/revision.h\n    echo \"#define REVISION \\\"???\\\"\" >> $DERIVED_FILE_DIR/revision.h\n    echo \"#endif\" >> $DERIVED_FILE_DIR/revision.h\n  fi\nfi\n\necho \"#ifndef revision_h\" > /tmp/newrev.tmp\necho \"#define revision_h\" >> /tmp/newrev.tmp\necho \\#define REVISION \\\"`$svncmd`\\\" >> /tmp/newrev.tmp\necho \"#endif\" >> /tmp/newrev.tmp\n\nif [[ -f $DERIVED_FILE_DIR/revision.h ]]\nthen\n  revdiff=`diff $DERIVED_FILE_DIR/revision.h /tmp/newrev.tmp`\nelse\n!
   revdiff=\"yes\"\nfi\n\nif [[ -n \"$revdiff\" ]]\nthen\n  echo \"New revision.h Generated\"\n  cp /tmp/newrev.tmp $DERIVED_FILE_DIR/revision.h\n  touch $SRCROOT/source/main/avida.cc\nfi\n\nrm /tmp/newrev.tmp\n";
+			showEnvVarsInLog = 0;
 		};
+		70D845480D73677E00601F5A /* ShellScript */ = {
+			isa = PBXShellScriptBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			inputPaths = (
+			);
+			outputPaths = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+			shellPath = /bin/sh;
+			shellScript = "./run_tests --builddir=$BUILD_DIR/$BUILD_STYLE/ _asl*";
+			showEnvVarsInLog = 0;
+		};
 /* End PBXShellScriptBuildPhase section */
 
 /* Begin PBXSourcesBuildPhase section */

Modified: development/source/script/cParser.h
===================================================================
--- development/source/script/cParser.h	2008-02-25 20:44:20 UTC (rev 2376)
+++ development/source/script/cParser.h	2008-02-25 21:05:39 UTC (rev 2377)
@@ -32,7 +32,6 @@
 
 #include "cASLibrary.h"
 #include "cLexer.h"
-#include "cScriptObject.h"
 
 class cFile;
 

Modified: development/source/script/cScriptObject.h
===================================================================
--- development/source/script/cScriptObject.h	2008-02-25 20:44:20 UTC (rev 2376)
+++ development/source/script/cScriptObject.h	2008-02-25 21:05:39 UTC (rev 2377)
@@ -34,6 +34,7 @@
   
 public:
   cScriptObject() { ; }
+  virtual ~cScriptObject() { ; }
   
   virtual void Run() = 0;
 };




More information about the Avida-cvs mailing list