-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun-tests
executable file
·52 lines (35 loc) · 1.04 KB
/
run-tests
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
print_ruler() {
printf "\n"
printf "=%.0s" {1..79}
printf "\n"
printf "\n"
} # print_ruler()
main() {
printf "Running automated test file(s):\n\n"
print_ruler
# pip install vim-vint
echo Running: vint --warning --verbose --enable-neovim .
time vint --warning --verbose --enable-neovim .
print_ruler
echo Running: "vim '+source *vim | Vader!*' ./*.vader && echo Success || echo Failure"
time vim '+source *vim | Vader!*' ./*.vader && echo Success || echo Failure
print_ruler
export THEMIS_HOME="${HOME}/.vim/pack/upstream/opt/vim-themis"
export PROFILE_LOG="profile.txt"
echo Running: themis ./themis.vimspec
time themis ./themis.vimspec
print_ruler
# https://github.com/Vimjas/covimerage/issues/95
# pip install 'click<8.0.0'
# pip install covimerage
covimerage write_coverage profile.txt
coverage report
coverage xml
print_ruler
# go install github.com/client9/misspell/cmd/misspell@latest
echo Running: misspell .
time misspell .
print_ruler
} # main()
time main "$@" |& tee ./run-tests-vimscript.txt