Commit e5f154c3 authored by Andreas Marek's avatar Andreas Marek
Browse files

Merge branch 'loh/scripts'

parents 66129c43 9ccbfa22
......@@ -2,6 +2,9 @@
set -e
set pipefail
mkdir -p $cov_dir/
......@@ -34,7 +34,11 @@ if len(files) > 1:
raise Exception("Specify exactly one .F90 file")
elif len(files) == 0:
# No .F90 file specified, execute program as-is
os.execvp(args[0], args[0:])
os.execvp(args[0], args[0:])
except OSError as e:
print("Error executing '{0}': {1}".format(args[0], e.args[1]))
raise SystemExit(1)
elif len(files) == 1:
file, = files
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment