Changeset 1eca806 in flex_extract.git


Ignore:
Timestamp:
Dec 14, 2018, 11:49:44 AM (5 months ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
dev
Children:
f2616a3
Parents:
bf48c8a
Message:

added test directory to installation tar file

Location:
source/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/python/_config.py

    r6cda7c1 r1eca806  
    8585PATH_PYTHONTEST_SRC = os.path.join(PATH_SOURCES, 'pythontest')
    8686PATH_INPUT_DIR = os.path.join(PATH_RUN_DIR, INPUT_DIRNAME_DEFAULT)
     87PATH_TEST = os.path.join(PATH_FLEXEXTRACT_DIR, 'test')
    8788if os.getenv('CONTROL'):
    8889    # this is only needed if gateway version with job script is used!
     
    106107PATH_REL_JOBSCRIPTS = os.path.relpath(PATH_JOBSCRIPTS, PATH_FLEXEXTRACT_DIR)
    107108PATH_REL_FORTRAN_SRC = os.path.relpath(PATH_FORTRAN_SRC, PATH_FLEXEXTRACT_DIR)
     109PATH_REL_TEST = os.path.relpath(PATH_TEST, PATH_FLEXEXTRACT_DIR)
  • source/python/install.py

    rbf48c8a r1eca806  
    322322                    for x in UioFiles(_config.PATH_REL_CONTROLFILES,
    323323                                      'CONTROL*').files]
     324    testfiles = [os.path.relpath(x, ecd)
     325                 for x in UioFiles(_config.PATH_REL_TEST , '*').files]
    324326    tempfiles = [os.path.relpath(x, ecd)
    325327                 for x in UioFiles(_config.PATH_REL_TEMPLATES , '*.temp').files]
     
    339341    filelist = pyfiles + pytestfiles + controlfiles + tempfiles + nlfiles + \
    340342               ffiles + gribtable + hfiles + makefiles + ECMWF_ENV_FILE + \
    341                runfile + jobdir + \
     343               runfile + jobdir + testfiles +\
    342344               ['CODE_OF_CONDUCT.md', 'LICENSE.md', 'README.md']
    343345
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG