Skip to content

Commit 4d6f01b

Browse files
committed
Test: Cleanup output efm and syntax tests outside CI environment
1 parent cf5380a commit 4d6f01b

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

Makefile

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,38 @@ test-indent:
2626
-c 'call RunTestIndent()'
2727

2828
test-efm:
29+
ifndef CI
30+
$(SILENT) $(VIM) \
31+
-c 'source test/functions.vim' \
32+
-c 'source test/run_test.vim' \
33+
-c 'call RunTestEfm()' | \
34+
tee test-efm.log | \
35+
grep "^Error format test"
36+
else
2937
$(SILENT) $(VIM) \
3038
-c 'source test/functions.vim' \
3139
-c 'source test/run_test.vim' \
3240
-c 'call RunTestEfm()' | \
3341
tee test-efm.log
42+
endif
3443

3544
test-syntax:
45+
ifndef CI
46+
$(SILENT) $(VIM) \
47+
-c 'source test/functions.vim' \
48+
-c 'source test/run_test.vim' \
49+
-c 'call RunTestSyntax()' | \
50+
tr -d '[]' | \
51+
tee test-syntax.log | \
52+
grep "^Syntax test"
53+
else
3654
$(SILENT) $(VIM) \
3755
-c 'source test/functions.vim' \
3856
-c 'source test/run_test.vim' \
39-
-c 'call RunTestSyntax()' | tr -d '[]' | \
57+
-c 'call RunTestSyntax()' | \
58+
tr -d '[]' | \
4059
tee test-syntax.log
60+
endif
4161

4262
performance:
4363
$(SILENT) time $(VIM) \

0 commit comments

Comments
 (0)