1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-09-08 00:40:17 +00:00

Flatten tests/compile_tests/image directory

This commit is contained in:
Samuel Gomes 2024-07-21 20:50:08 +05:30
parent 5ede639a64
commit 1eb599bac5
52 changed files with 62 additions and 53 deletions

View file

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View file

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View file

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View file

Before

Width:  |  Height:  |  Size: 318 B

After

Width:  |  Height:  |  Size: 318 B

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View file

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View file

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View file

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View file

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

View file

Before

Width:  |  Height:  |  Size: 5.6 MiB

After

Width:  |  Height:  |  Size: 5.6 MiB

View file

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View file

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View file

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

View file

Before

Width:  |  Height:  |  Size: 687 KiB

After

Width:  |  Height:  |  Size: 687 KiB

View file

Before

Width:  |  Height:  |  Size: 878 KiB

After

Width:  |  Height:  |  Size: 878 KiB

View file

@ -3,7 +3,6 @@ OPTION _EXPLICIT
$CONSOLE:ONLY
CHDIR _STARTDIR$
CONST ICON_DIR = "./icons/"
CONST TEST_FILE_FORMAT = "bmp"
CONST TOLERANCE_LIMIT = 0
@ -14,14 +13,24 @@ RESTORE file_list
DIM fileName AS STRING: READ fileName
DO
DoImageFile ICON_DIR + fileName
DoImageFile fileName
READ fileName
LOOP WHILE LEN(fileName)
SYSTEM
error_handler:
PRINT "Error: "; _ERRORMESSAGE$; " at line line"; _ERRORLINE
PRINT "Error: "; _ERRORMESSAGE$; " at line"; _ERRORLINE;
DIM incErrFile AS STRING: incErrFile = _INCLERRORFILE$
DIM incErrLine AS LONG: incErrLine = _INCLERRORLINE
IF LEN(incErrFile) THEN
PRINT "( "; incErrFile + " at line"; incErrLine; ")"
ELSE
PRINT
END IF
SYSTEM
file_list:

View file

@ -1,100 +1,100 @@
Loading image from storage ./icons/1bpp.ico ... done.
Testing against ./icons/1bpp.ico.bmp ( 128 x 128 ).
Loading image from storage 1bpp.ico ... done.
Testing against 1bpp.ico.bmp ( 128 x 128 ).
Success, images are identical!
Loading image from storage ./icons/24bpp.ico ... done.
Testing against ./icons/24bpp.ico.bmp ( 128 x 128 ).
Loading image from storage 24bpp.ico ... done.
Testing against 24bpp.ico.bmp ( 128 x 128 ).
Success, images are identical!
Loading image from storage ./icons/4bpp.cur ... done.
Testing against ./icons/4bpp.cur.bmp ( 16 x 16 ).
Loading image from storage 4bpp.cur ... done.
Testing against 4bpp.cur.bmp ( 16 x 16 ).
Success, images are identical!
Loading image from storage ./icons/4bpp.ico ... done.
Testing against ./icons/4bpp.ico.bmp ( 128 x 128 ).
Loading image from storage 4bpp.ico ... done.
Testing against 4bpp.ico.bmp ( 128 x 128 ).
Success, images are identical!
Loading image from storage ./icons/8bpp.ico ... done.
Testing against ./icons/8bpp.ico.bmp ( 128 x 128 ).
Loading image from storage 8bpp.ico ... done.
Testing against 8bpp.ico.bmp ( 128 x 128 ).
Success, images are identical!
Loading image from storage ./icons/8bpp.cur ... done.
Testing against ./icons/8bpp.cur.bmp ( 32 x 32 ).
Loading image from storage 8bpp.cur ... done.
Testing against 8bpp.cur.bmp ( 32 x 32 ).
Success, images are identical!
Loading image from storage ./icons/bard.ico ... done.
Testing against ./icons/bard.ico.bmp ( 1360 x 1083 ).
Loading image from storage bard.ico ... done.
Testing against bard.ico.bmp ( 1360 x 1083 ).
Success, images are identical!
Loading image from storage ./icons/broom.ico ... done.
Testing against ./icons/broom.ico.bmp ( 600 x 600 ).
Loading image from storage broom.ico ... done.
Testing against broom.ico.bmp ( 600 x 600 ).
Success, images are identical!
Loading image from storage ./icons/cat.ico ... done.
Testing against ./icons/cat.ico.bmp ( 150 x 150 ).
Loading image from storage cat.ico ... done.
Testing against cat.ico.bmp ( 150 x 150 ).
Success, images are identical!
Loading image from storage ./icons/computer.ico ... done.
Testing against ./icons/computer.ico.bmp ( 474 x 474 ).
Loading image from storage computer.ico ... done.
Testing against computer.ico.bmp ( 474 x 474 ).
Success, images are identical!
Loading image from storage ./icons/dumb1.ico ... done.
Testing against ./icons/dumb1.ico.bmp ( 540 x 500 ).
Loading image from storage dumb1.ico ... done.
Testing against dumb1.ico.bmp ( 540 x 500 ).
Success, images are identical!
Loading image from storage ./icons/dumb2.ico ... done.
Testing against ./icons/dumb2.ico.bmp ( 540 x 500 ).
Loading image from storage dumb2.ico ... done.
Testing against dumb2.ico.bmp ( 540 x 500 ).
Success, images are identical!
Loading image from storage ./icons/pencil.ico ... done.
Testing against ./icons/pencil.ico.bmp ( 256 x 256 ).
Loading image from storage pencil.ico ... done.
Testing against pencil.ico.bmp ( 256 x 256 ).
Success, images are identical!
Loading image from storage ./icons/please_wait.ico ... done.
Testing against ./icons/please_wait.ico.bmp ( 404 x 325 ).
Loading image from storage please_wait.ico ... done.
Testing against please_wait.ico.bmp ( 404 x 325 ).
Success, images are identical!
Loading image from storage ./icons/question.ico ... done.
Testing against ./icons/question.ico.bmp ( 512 x 512 ).
Loading image from storage question.ico ... done.
Testing against question.ico.bmp ( 512 x 512 ).
Success, images are identical!
Loading image from storage ./icons/really_huge_duck.ico ... done.
Testing against ./icons/really_huge_duck.ico.bmp ( 4293 x 4293 ).
Loading image from storage really_huge_duck.ico ... done.
Testing against really_huge_duck.ico.bmp ( 4293 x 4293 ).
Success, images are identical!
Loading image from storage ./icons/sample3.ico ... done.
Testing against ./icons/sample3.ico.bmp ( 256 x 171 ).
Loading image from storage sample3.ico ... done.
Testing against sample3.ico.bmp ( 256 x 171 ).
Success, images are identical!
Loading image from storage ./icons/sample4.ico ... done.
Testing against ./icons/sample4.ico.bmp ( 256 x 192 ).
Loading image from storage sample4.ico ... done.
Testing against sample4.ico.bmp ( 256 x 192 ).
Success, images are identical!
Loading image from storage ./icons/soft_drink.ico ... done.
Testing against ./icons/soft_drink.ico.bmp ( 256 x 256 ).
Loading image from storage soft_drink.ico ... done.
Testing against soft_drink.ico.bmp ( 256 x 256 ).
Success, images are identical!
Loading image from storage ./icons/taco.ico ... done.
Testing against ./icons/taco.ico.bmp ( 966 x 764 ).
Loading image from storage taco.ico ... done.
Testing against taco.ico.bmp ( 966 x 764 ).
Success, images are identical!
Loading image from storage ./icons/terra_globe.ico ... done.
Testing against ./icons/terra_globe.ico.bmp ( 772 x 769 ).
Loading image from storage terra_globe.ico ... done.
Testing against terra_globe.ico.bmp ( 772 x 769 ).
Success, images are identical!
Loading image from storage ./icons/thumbs_up.ico ... done.
Testing against ./icons/thumbs_up.ico.bmp ( 463 x 294 ).
Loading image from storage thumbs_up.ico ... done.
Testing against thumbs_up.ico.bmp ( 463 x 294 ).
Success, images are identical!
Loading image from storage ./icons/volme_dialog.ico ... done.
Testing against ./icons/volme_dialog.ico.bmp ( 32 x 32 ).
Loading image from storage volme_dialog.ico ... done.
Testing against volme_dialog.ico.bmp ( 32 x 32 ).
Success, images are identical!
Loading image from storage ./icons/word-icon.ico ... done.
Testing against ./icons/word-icon.ico.bmp ( 512 x 512 ).
Loading image from storage word-icon.ico ... done.
Testing against word-icon.ico.bmp ( 512 x 512 ).
Success, images are identical!
Loading image from storage ./icons/x.ico ... done.
Testing against ./icons/x.ico.bmp ( 256 x 256 ).
Loading image from storage x.ico ... done.
Testing against x.ico.bmp ( 256 x 256 ).
Success, images are identical!

View file

Before

Width:  |  Height:  |  Size: 298 KiB

After

Width:  |  Height:  |  Size: 298 KiB

View file

Before

Width:  |  Height:  |  Size: 1 MiB

After

Width:  |  Height:  |  Size: 1 MiB

View file

Before

Width:  |  Height:  |  Size: 824 KiB

After

Width:  |  Height:  |  Size: 824 KiB

View file

Before

Width:  |  Height:  |  Size: 1 MiB

After

Width:  |  Height:  |  Size: 1 MiB

View file

Before

Width:  |  Height:  |  Size: 200 KiB

After

Width:  |  Height:  |  Size: 200 KiB

View file

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 256 KiB

View file

Before

Width:  |  Height:  |  Size: 146 KiB

After

Width:  |  Height:  |  Size: 146 KiB

View file

Before

Width:  |  Height:  |  Size: 513 KiB

After

Width:  |  Height:  |  Size: 513 KiB

View file

Before

Width:  |  Height:  |  Size: 800 KiB

After

Width:  |  Height:  |  Size: 800 KiB

View file

Before

Width:  |  Height:  |  Size: 1 MiB

After

Width:  |  Height:  |  Size: 1 MiB

View file

Before

Width:  |  Height:  |  Size: 55 MiB

After

Width:  |  Height:  |  Size: 55 MiB

View file

Before

Width:  |  Height:  |  Size: 70 MiB

After

Width:  |  Height:  |  Size: 70 MiB

View file

Before

Width:  |  Height:  |  Size: 176 KiB

After

Width:  |  Height:  |  Size: 176 KiB

View file

Before

Width:  |  Height:  |  Size: 171 KiB

After

Width:  |  Height:  |  Size: 171 KiB

View file

Before

Width:  |  Height:  |  Size: 198 KiB

After

Width:  |  Height:  |  Size: 198 KiB

View file

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 192 KiB

View file

Before

Width:  |  Height:  |  Size: 200 KiB

After

Width:  |  Height:  |  Size: 200 KiB

View file

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 256 KiB

View file

Before

Width:  |  Height:  |  Size: 2.2 MiB

After

Width:  |  Height:  |  Size: 2.2 MiB

View file

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.8 MiB

View file

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

View file

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

View file

Before

Width:  |  Height:  |  Size: 417 KiB

After

Width:  |  Height:  |  Size: 417 KiB

View file

Before

Width:  |  Height:  |  Size: 532 KiB

After

Width:  |  Height:  |  Size: 532 KiB

View file

Before

Width:  |  Height:  |  Size: 766 B

After

Width:  |  Height:  |  Size: 766 B

View file

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View file

Before

Width:  |  Height:  |  Size: 800 KiB

After

Width:  |  Height:  |  Size: 800 KiB

View file

Before

Width:  |  Height:  |  Size: 1 MiB

After

Width:  |  Height:  |  Size: 1 MiB

View file

Before

Width:  |  Height:  |  Size: 200 KiB

After

Width:  |  Height:  |  Size: 200 KiB

View file

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 256 KiB