From bdfd2ff1f0020c22cbb08b24239c207e33b71960 Mon Sep 17 00:00:00 2001 From: knodlseder <> Date: Wed, 23 Feb 2011 00:38:04 +0000 Subject: [PATCH] set PFILES environment variable --- test/test_ctatools.sh | 5 +++++ test/test_python.py | 7 +++++++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/test/test_ctatools.sh b/test/test_ctatools.sh index 75331ab..8fa0985 100755 --- a/test/test_ctatools.sh +++ b/test/test_ctatools.sh @@ -2,6 +2,11 @@ # # ctatools test script # ==================================================================== +PFILES=$PWD/../src/ctobssim +PFILES=$PWD/../src/ctbin:$PFILES +PFILES=$PWD/../src/ctselect:$PFILES +PFILES=$PWD/../src/ctlike:$PFILES +export PFILES # # Print Header diff --git a/test/test_python.py b/test/test_python.py index 344ba94..6be98ce 100755 --- a/test/test_python.py +++ b/test/test_python.py @@ -168,6 +168,13 @@ if __name__ == '__main__': print "* ctatools Python interface testing *" print "************************************" + # Set PFILES environment variable + pfiles = "../src/ctobssim:" + pfiles += "../src/ctbin:" + pfiles += "../src/ctselect:" + pfiles += "../src/ctlike:" + os.environ['PFILES'] = pfiles + # Remove any existing result files list = [glob.glob("*.fits"), glob.glob("*.log"), glob.glob("*.xml")] for files in list: -- libgit2 0.21.4