Changeset 1e58bb for tests/integration/molecuilder_poolworker.in
- Timestamp:
- Apr 10, 2018, 6:42:56 AM (7 years ago)
- Branches:
- AutomationFragmentation_failures, Candidate_v1.6.1, ChemicalSpaceEvaluator, Enhanced_StructuralOptimization_continued, Exclude_Hydrogens_annealWithBondGraph, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, JobMarket_RobustOnKillsSegFaults, PythonUI_with_named_parameters, StoppableMakroAction, TremoloParser_IncreasedPrecision
- Children:
- a5c293
- Parents:
- 456f19
- git-author:
- Frederik Heber <frederik.heber@…> (04/07/18 21:09:55)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/10/18 06:42:56)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/integration/molecuilder_poolworker.in
r456f19 r1e58bb 1 #!/bin/ sh1 #!/bin/bash 2 2 # 3 3 # wrapper for testing molecuilder … … 5 5 . ../../atlocal 6 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 7 12 SCLIBDIR="@abs_top_srcdir@/ThirdParty/mpqc_open/lib" 8 13 export SCLIBDIR 9 14 10 15 if test -e ${AUTOTEST_PATH}/molecuilder_poolworker; then 11 ${AUTOTEST_PATH}/molecuilder_poolworker $@ 16 ${AUTOTEST_PATH}/molecuilder_poolworker $@ & 12 17 else 13 18 echo "Could not find molecuilder_poolworker." … … 15 20 fi 16 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 17 26 status=$? 18 27
Note:
See TracChangeset
for help on using the changeset viewer.