-
-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c51d46
commit 328d98a
Showing
9 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,6 +97,14 @@ test_png() | |
fi | ||
} | ||
|
||
test_font(){ | ||
FILENAME="$TEST_OUT_DIR/$1.pbf" | ||
URL="$MARTIN_URL/$2" | ||
|
||
echo "Testing $(basename "$FILENAME") from $URL" | ||
$CURL "$URL" > "$FILENAME" | ||
} | ||
|
||
# Delete a line from a file $1 that matches parameter $2 | ||
remove_line() | ||
{ | ||
|
@@ -268,6 +276,10 @@ test_png spr_cmp sprite/src1,mysrc.png | |
test_jsn spr_cmp_2x sprite/src1,[email protected] | ||
test_png spr_cmp_2x sprite/src1,[email protected] | ||
|
||
test_font font_1 font/Overpass%20Mono%20Light/0-255 | ||
test_font font_2 font/Overpass%20Mono%20Regular/0-255 | ||
test_font font_3 font/Overpass%20Mono%20Regular%2COverpass%20Mono%20Light/0-255 | ||
|
||
kill_process $PROCESS_ID | ||
validate_log "${TMP_DIR}/test_log_2.txt" | ||
|
||
|