Skip to content

Commit

Permalink
Merge pull request #3192 from bhcleek/test-ordering
Browse files Browse the repository at this point in the history
scripts: run test files in lexical order
  • Loading branch information
bhcleek authored Apr 2, 2021
2 parents e28b476 + 80cecd6 commit ce95699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fi
[ -f '/tmp/vim-go-test/cov-report.txt' ] && rm '/tmp/vim-go-test/cov-report.txt'

# Run the actual tests.
find "$vimgodir" -name '*_test.vim' | while read test_file; do
find "$vimgodir" -name '*_test.vim' | sort | while read test_file; do
[ -n "$run" -a "$(basename "$test_file")" != "$run" ] && continue

"$vimgodir/scripts/run-vim" $coverage $vim -e \
Expand Down

0 comments on commit ce95699

Please sign in to comment.