Candidate_v1.6.1
        Candidate_v1.7.0
        ChemicalSpaceEvaluator
        PythonUI_with_named_parameters
        TremoloParser_IncreasedPrecision
        stable
      
      
        
          | 
            Last change
 on this file since e7ad08 was             1e58bb, checked in by Frederik Heber <frederik.heber@…>, 8 years ago           | 
        
        
          | 
             
FIX: Integration tests now abort safely when one of the programs dies. 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            622 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [1e58bb] | 1 | #!/bin/bash
 | 
|---|
| [fbf005] | 2 | #
 | 
|---|
 | 3 | # wrapper for testing molecuilder
 | 
|---|
 | 4 | 
 | 
|---|
 | 5 | . ../../atlocal
 | 
|---|
 | 6 | 
 | 
|---|
| [1e58bb] | 7 | trap 'echo "Killing process group $$"; pkill --signal 9 -P $$' SIGTERM SIGINT
 | 
|---|
 | 8 | 
 | 
|---|
 | 9 | #PGID=$(ps -o pgid= $PID | grep -o [0-9]*)
 | 
|---|
 | 10 | #trap 'kill -- -"$PGID"' SIGINT SIGTERM
 | 
|---|
 | 11 | 
 | 
|---|
| [fbf005] | 12 | SCLIBDIR="@abs_top_srcdir@/ThirdParty/mpqc_open/lib"
 | 
|---|
 | 13 | export SCLIBDIR
 | 
|---|
 | 14 | 
 | 
|---|
 | 15 | if test -e ${AUTOTEST_PATH}/molecuilder_poolworker; then
 | 
|---|
| [1e58bb] | 16 |         ${AUTOTEST_PATH}/molecuilder_poolworker $@ &
 | 
|---|
| [fbf005] | 17 | else
 | 
|---|
 | 18 |         echo "Could not find molecuilder_poolworker."
 | 
|---|
 | 19 |         exit 127
 | 
|---|
 | 20 | fi
 | 
|---|
| [2945e6] | 21 | 
 | 
|---|
| [1e58bb] | 22 | # we need the wait here (and poolworker running in the background) as otherwise
 | 
|---|
 | 23 | # the above trap will not get activated.
 | 
|---|
 | 24 | wait $!
 | 
|---|
 | 25 | 
 | 
|---|
| [2945e6] | 26 | status=$?
 | 
|---|
 | 27 | 
 | 
|---|
 | 28 | exit $status
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.