Skip to content

Commit fe12976

Browse files
committed
added introspection program to API docs.
another test 10 update to remove cryptic gfortran warning.
1 parent 47b1498 commit fe12976

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

deploy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ if [ ! "$TRAVIS" ]; then #not on travis, try a sane deploy of current branch's d
1919
[ -e "$BRANCH" ] && rm -r "$BRANCH" # wipe out old docs if they exist
2020
mkdir "$BRANCH"
2121
mkdir "$BRANCH/tests"
22+
mkdir "$BRANCH/tests/introspection"
2223
FILES=$(find ../documentation -name '*.*') #get all the files (including in subdirectories)
2324
for f in $FILES; do # add branch info to header and clean line endings
2425
sed '/[^#]robo_top_of_doc/ s;jsonfortran</a>;jsonfortran '"$BRANCH"'</a>;' $f | sed 's/ *$//' > "$BRANCH/${f##*documentation/}"
@@ -42,6 +43,7 @@ else #running under travis
4243
[ -e master ] && rm -r master # wipe out docs if they exist
4344
mkdir master
4445
mkdir master/tests
46+
mkdir master/tests/introspection
4547
FILES=$(find ../documentation -name '*.*') #get all the files (including in subdirectories)
4648
for f in $FILES; do # add branch info to header and clean line endings
4749
sed '/[^#]robo_top_of_doc/ s;jsonfortran</a>;jsonfortran master</a>;' $f | sed 's/ *$//' > master/${f##*documentation/}
@@ -57,6 +59,7 @@ else #running under travis
5759
[ -e "$TRAVIS_TAG" ] && rm -r "$TRAVIS_TAG" # wipe out existing docs for tag if they exist
5860
mkdir "$TRAVIS_TAG"
5961
mkdir "$TRAVIS_TAG/tests"
62+
mkdir "$TRAVIS_TAG/tests/introspection"
6063
# Add an entry in index.html for the new tag, assume none exists
6164
awk '/<!--Next stable release goes here-->/{print "<a href=\"./'"$TRAVIS_TAG"'/json_module_F90.html\" class=\"indexitem\" >'"$TRAVIS_TAG"'</a>"}1' index.html > index2.html && mv index2.html index.html
6265
FILES=$(find ../documentation -name '*.*') #get all the files (including in subdirectories)

src/tests/jf_test_10.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ subroutine test_10(error_cnt)
6969
logical :: found,lval
7070
integer :: var_type,n_children
7171

72-
character(kind=CK,len=*),parameter :: json_str = '{ "blah": 123 }'
72+
character(kind=CDK,len=*),parameter :: json_str = '{ "blah": 123 }'
7373

7474
error_cnt = 0
7575
call json_initialize()

0 commit comments

Comments
 (0)