Skip to content

Commit 3897d04

Browse files
committed
---
yaml --- r: 15690 b: refs/heads/try c: 3038502 h: refs/heads/master v: v3
1 parent b1e8fb5 commit 3897d04

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 3f3339e07685769359a175c040307fba0202ca50
5+
refs/heads/try: 30385022c1a7b265a746acb702e6fd1ee3d0e92f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/mk/tests.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ ALL_HS := $(filter-out $(S)src/rt/vg/valgrind.h \
120120
tidy:
121121
@$(call E, check: formatting)
122122
$(Q)find $(S)src -name '*.r[sc]' \
123+
| grep '^$(S)src/test' -v \
123124
| xargs -n 10 python $(S)src/etc/tidy.py
124125
$(Q)find $(S)src/etc -name '*.py' \
125126
| xargs -n 10 python $(S)src/etc/tidy.py

branches/try/src/etc/tidy.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ def report_err(s):
3232
report_err("trailing whitespace")
3333
line_len = len(line)-2 if autocrlf else len(line)-1
3434

35-
# Along long lines if they are part of an expected error message
36-
# in a test, which is denoted with "//!":
37-
if line_len > cols and "//!" not in line:
35+
if line_len > cols:
3836
report_err("line longer than %d chars" % cols)
3937
except UnicodeDecodeError, e:
4038
report_err("UTF-8 decoding error " + str(e))

0 commit comments

Comments
 (0)