Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ EXTRACT_FILES := $(ATTACK_IMAGES:attack/%=extract/%.json)
extract/%.json: attack/%
$(QECHO) GET $@
$Q mkdir -p $(dir $@)
$Q $(SRCDIR)/imagewmark get $(__TESTKEY) --expect $(WATERMARK) $< --json > [email protected]
$Q $(SRCDIR)/imagewmark get $(__TESTKEY) --expect $(WATERMARK) --cornersync $(CORNERSYNC_MODE) $< --json > [email protected]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

While adding --cornersync $(CORNERSYNC_MODE) here is correct, the same flag is missing from the fallback imagewmark get call on line 128. This leads to inconsistent behavior, as the CORNERSYNC_MODE will not be respected if the initial extraction fails. For consistent behavior, please also add --cornersync $(CORNERSYNC_MODE) to the command on line 128.

$Q $(WITHOUT_ORIGINAL) || grep -qw "$(WATERMARK)" [email protected] || { \
echo ' ALIGNED ' $@ \
&& $(SRCDIR)/imagewmark get $(__TESTKEY) --expect $(WATERMARK) $< --json \
Expand Down