File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -316,13 +316,19 @@ if [[ $JF_SKIP_TESTS != [yY]* ]] ; then
316
316
# run next commands in subshell to avoid `cd -`
317
317
(cd " $BINDIR "
318
318
GLOBIGNORE=' *.*'
319
- #
320
- for TEST in jf_test_* ; do
319
+ # from: http://stackoverflow.com/questions/7992689/bash-how-to-loop-all-files-in-sorted-order
320
+ ls jf_test_* | sed ' s/^\([^0-9]*\)\([0-9]*\)/\1 \2/' | sort -k2,2n | tr -d ' ' |
321
+ while read TEST; do
321
322
# It would be nice to run json output printed to stdout through jsonlint, however,
322
323
# some tests output more than one json structure and these need to be split
324
+ echo " "
325
+ echo " ======================================================"
326
+ echo " "
323
327
echo " Running ${TEST} "
324
328
" ./${TEST} "
325
329
done)
330
+ echo " "
331
+ echo " ======================================================"
326
332
GLOBIGNORE=" $OLD_IGNORES "
327
333
if [[ $CODE_COVERAGE = [yY]* ]] ; then
328
334
for SRCFILE in json_string_utilities.F90 json_value_module.F90 json_file_module.F90 ; do
You can’t perform that action at this time.
0 commit comments