[ET Trac] [Einstein Toolkit] #1364: be mor careful extracting $MAKE in RunTestSuite

Einstein Toolkit trac-noreply at einsteintoolkit.org
Sun May 26 17:06:57 CDT 2013


#1364: be mor careful extracting $MAKE in RunTestSuite
-------------------------+--------------------------------------------------
  Reporter:  rhaas       |       Owner:  eschnett  
      Type:  defect      |      Status:  reopened  
  Priority:  critical    |   Milestone:  ET_2013_05
 Component:  SimFactory  |     Version:            
Resolution:              |    Keywords:            
-------------------------+--------------------------------------------------

Comment (by eschnett):

 Datura's make command is "make =
 INTEL_LICENSE_FILE=/cluster/intel/licenses make -j12". This assumes that
 "var=val" means that var is set to val while executing the following
 command. I don't know whether this is standard; apparently it does not
 work in all cases.

 Can you try using the "env" command for this? This would then look like
 {{{
 make = env INTEL_LICENSE_FILE=/cluster/intel/licenses make -j12
 }}}
 which we use everywhere else for setting environment variables in the MDB.

 Adding on additional "eval" here is dangerous, because this means that the
 command will be evaluated twice. This would make quoting difficult.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1364#comment:14>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list