[Xorp-cvs] SF.net SVN: xorp:[11582] trunk/xorp/site_scons/site_tools/autotest.py

bms_fbsd at users.sourceforge.net bms_fbsd at users.sourceforge.net
Thu Nov 26 11:14:41 PST 2009


Revision: 11582
          http://xorp.svn.sourceforge.net/xorp/?rev=11582&view=rev
Author:   bms_fbsd
Date:     2009-11-26 19:14:41 +0000 (Thu, 26 Nov 2009)

Log Message:
-----------
Add comment about where to cut running a 'scons check' if you're
cross-compiling.

We should really print a warning in this instance (i.e.  you're
cross-compiling, host != target, we can't run the test, but we can
build it for compile coverage.)

Modified Paths:
--------------
    trunk/xorp/site_scons/site_tools/autotest.py

Modified: trunk/xorp/site_scons/site_tools/autotest.py
===================================================================
--- trunk/xorp/site_scons/site_tools/autotest.py	2009-11-26 17:39:12 UTC (rev 11581)
+++ trunk/xorp/site_scons/site_tools/autotest.py	2009-11-26 19:14:41 UTC (rev 11582)
@@ -65,6 +65,8 @@
     kwargs["CXXFLAGS"] = cxxflags
     kwargs["CCFLAGS"]  = ccflags
     test = env.Program(target, source = source, **kwargs)
+
+    # FIXME: Skip this step if we are cross-compiling (don't run the runner).
     if multiget([kwargs, env], 'AUTOTEST_SKIP_ERRORS', False):
         runner = env.Action(test[0].abspath, exitstatfunc=lambda x:0)
     else:


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



More information about the Xorp-cvs mailing list