mirror of
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git
synced 2024-10-18 09:10:34 -04:00
Add test for searching unoptimized icons
This commit is contained in:
parent
da6b3bd34d
commit
96d7915dcc
1 changed files with 8 additions and 1 deletions
9
Makefile
9
Makefile
|
@ -53,7 +53,7 @@ test: test_short
|
|||
test-all: test_short test_long
|
||||
|
||||
.PHONY: test_short
|
||||
test_short: test_renderer test_svg_elems test_symlinks test_filenames
|
||||
test_short: test_renderer test_optimization test_svg_elems test_symlinks test_filenames
|
||||
|
||||
.PHONY: test_long
|
||||
test_long: test_xml_struct
|
||||
|
@ -66,6 +66,13 @@ test_renderer:
|
|||
-e 'd="[a-zA-Z0-9 -.]+\s\.[a-zA-Z0-9 -.]+"' \
|
||||
$(ICON_THEMES)
|
||||
|
||||
.PHONY: test_optimization
|
||||
test_optimization:
|
||||
# >>> Searching for unoptimized icons
|
||||
@! LC_ALL=C grep -E -rl --include='*.svg' \
|
||||
-e '^<\?xml' \
|
||||
$(ICON_THEMES)
|
||||
|
||||
.PHONY: test_svg_elems
|
||||
test_svg_elems:
|
||||
# >>> Searching for icons with embedded objects
|
||||
|
|
Loading…
Reference in a new issue