Parametrize path to the test script
@@ -41,11 +41,12 @@ requirements:
- sympy
test:
- files:
- - example_2_AIM_XAS.py
imports:
- edrixs
+ files:
+ - {{ os.environ.get('RECIPE_DIR', '.') }}/example_2_AIM_XAS.py
commands:
+ - cp -v {{ os.environ.get('RECIPE_DIR', '.') }}/example_2_AIM_XAS.py .
- python example_2_AIM_XAS.py
- mpiexec -n 2 python example_2_AIM_XAS.py
