AutomationFragmentation_failures
Candidate_v1.6.1
Candidate_v1.7.0
ChemicalSpaceEvaluator
Enhanced_StructuralOptimization_continued
Exclude_Hydrogens_annealWithBondGraph
ForceAnnealing_with_BondGraph
ForceAnnealing_with_BondGraph_contraction-expansion
Gui_displays_atomic_force_velocity
PythonUI_with_named_parameters
StoppableMakroAction
TremoloParser_IncreasedPrecision
stable
|
Last change
on this file since 12f16c 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
|
| Line | |
|---|
| 1 | #!/bin/bash
|
|---|
| 2 | #
|
|---|
| 3 | # wrapper for testing molecuilder
|
|---|
| 4 |
|
|---|
| 5 | . ../../atlocal
|
|---|
| 6 |
|
|---|
| 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 |
|
|---|
| 12 | SCLIBDIR="@abs_top_srcdir@/ThirdParty/mpqc_open/lib"
|
|---|
| 13 | export SCLIBDIR
|
|---|
| 14 |
|
|---|
| 15 | if test -e ${AUTOTEST_PATH}/molecuilder_poolworker; then
|
|---|
| 16 | ${AUTOTEST_PATH}/molecuilder_poolworker $@ &
|
|---|
| 17 | else
|
|---|
| 18 | echo "Could not find molecuilder_poolworker."
|
|---|
| 19 | exit 127
|
|---|
| 20 | fi
|
|---|
| 21 |
|
|---|
| 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 |
|
|---|
| 26 | status=$?
|
|---|
| 27 |
|
|---|
| 28 | exit $status
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.