From 819fd835d1be354be9d078aa65c4e79cf4760b21 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 4 Dec 2015 23:33:45 +0100 Subject: [PATCH] For installed version of test_python.py, copy over parameter files from syspfiles folder. --- test/test_python.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_python.py b/test/test_python.py index 4904907..828deac 100755 --- a/test/test_python.py +++ b/test/test_python.py @@ -126,9 +126,11 @@ def test(installed=False): pass os.environ['PFILES'] = "pfiles" - # If we have a non-installed version then copy over pfiles + # Copy over pfiles if not installed: os.system("cp -r ../src/*/*.par pfiles/") + else: + os.system("cp -r %s/syspfiles/*.par pfiles/" % (os.environ['CTOOLS'])) # Run test suite success = suites.run() -- libgit2 0.21.4