File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 18
18
run : sudo apt-get update && sudo apt-get install -y build-essential ${{matrix.fortran-compiler}} cmake python3 git libxml2-utils
19
19
- name : Run unit tests
20
20
run : cd test && ./run_fortran_tests.sh
21
-
21
+ - name : Run Fortran to metadata test
22
+ run : cd test && ./test_fortran_to_metadata.sh
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# # Relevant directories and file paths
4
- test_dir=" $( dirname ${0} ) "
4
+ test_dir=" $( cd $( dirname ${0} ) ; pwd -P ) "
5
5
script_dir=" $( dirname ${test_dir} ) /scripts"
6
+ sample_files_dir=" ${test_dir} /unit_tests/sample_files"
6
7
f2m_script=" ${script_dir} /ccpp_fortran_to_metadata.py"
7
8
filename=" test_fortran_to_metadata"
8
- test_input=" ${test_dir } /${filename} .F90"
9
+ test_input=" ${sample_files_dir } /${filename} .F90"
9
10
tmp_dir=" ${test_dir} /unit_tests/tmp"
10
- sample_files=" ${test_dir} /unit_tests/sample_files"
11
- sample_meta=" ${sample_files} /check_fortran_to_metadata.meta"
11
+ sample_meta=" ${sample_files_dir} /check_fortran_to_metadata.meta"
12
12
13
13
# Run the script
14
14
opts=" --ddt-names serling_t"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments