From d9dd03dcb75f15e8fcf30e5f173bdec0a1b7ceec Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Mon, 2 Sep 2013 18:57:49 -0400 Subject: [PATCH] Fix previous commit. --- tests/run_tests.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/run_tests.py b/tests/run_tests.py index c847cee046..dc87fdfcbd 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -66,15 +66,14 @@ pwd = os.getcwd() sys.path.append(pwd) # Set list of tests, either default or from command line +flags = [] +tests = ['compile', 'gfortran', 'gfortran-dbg', 'gfortran-opt', + 'gfortran-hdf5', 'gfortran-mpi', 'gfortran-phdf5', + 'gfortran-petsc', 'gfortran-phdf5-petsc', + 'gfortran-phdf5-petsc-opt'] if len(sys.argv) > 1: flags = [i for i in sys.argv[1:] if i.startswith('-')] tests = [i for i in sys.argv[1:] if not i.startswith('-')] -if not tests: - flags = [] - tests = ['compile', 'gfortran', 'gfortran-dbg', 'gfortran-opt', - 'gfortran-hdf5', 'gfortran-mpi', 'gfortran-phdf5', - 'gfortran-petsc', 'gfortran-phdf5-petsc', - 'gfortran-phdf5-petsc-opt'] # Run tests results = []