Commit 5f2a9dc8aa7a38739eeef002ce6bc096a1b383e3

Authored by Jürgen Knödlseder
1 parent 8e85bf6f

For installed version of test_python.py, copy over parameter files from syspfiles folder.

Showing 1 changed file with 3 additions and 1 deletions
test/test_python.py
... ... @@ -126,9 +126,11 @@ def test(installed=False):
126 126 pass
127 127 os.environ['PFILES'] = "pfiles"
128 128  
129   - # If we have a non-installed version then copy over pfiles
  129 + # Copy over pfiles
130 130 if not installed:
131 131 os.system("cp -r ../src/*/*.par pfiles/")
  132 + else:
  133 + os.system("cp -r %s/syspfiles/*.par pfiles/" % (os.environ['CTOOLS']))
132 134  
133 135 # Run test suite
134 136 success = suites.run()
... ...