diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2014-08-03 21:29:13 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2014-08-03 21:29:13 +0300 |
commit | 100c20e568e8250c7845877bf456ad54dfc137db (patch) | |
tree | 009150960f0c8fe7190406ecc05db7622693db13 /run_tests.py | |
parent | 5303b1d0f499118c9dda82309fb23652511acb10 (diff) | |
download | meson-100c20e568e8250c7845877bf456ad54dfc137db.zip meson-100c20e568e8250c7845877bf456ad54dfc137db.tar.gz meson-100c20e568e8250c7845877bf456ad54dfc137db.tar.bz2 |
Scan Fortran dependencies at the beginning for all sources.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-x | run_tests.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py index c594974..399ab49 100755 --- a/run_tests.py +++ b/run_tests.py @@ -208,6 +208,10 @@ def run_tests(): objctests = gather_tests('test cases/objc') else: objctests = [] + if shutil.which('gfortran'): + fortrantests = gather_tests('test cases/fortran') + else: + fortrantests = [] try: os.mkdir(test_build_dir) except OSError: @@ -260,6 +264,11 @@ def run_tests(): [run_and_log(logfile, t) for t in objctests] else: print('\nNo Objective C tests on this platform.\n') + if len(fortrantests) > 0: + print('\nRunning Fortran tests.\n') + [run_and_log(logfile, t) for t in fortrantests] + else: + print('\nNo Fortran tests on this platform.\n') def check_file(fname): linenum = 1 |