[posila] [1.1.26] TestBasicGrapics.cpp test failed, black_pixel_top_left.png not found

This subforum contains all the issues which we already resolved.
Post Reply
sp55aa
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Mon Oct 07, 2019 9:27 am
Contact:

[posila] [1.1.26] TestBasicGrapics.cpp test failed, black_pixel_top_left.png not found

Post by sp55aa »

Code: Select all

cd C:\Local\Factorio_1.1.26
run-tests-x64.bat

Code: Select all

Looking for saves to test in C:\Local\Factorio_1.1.26\data\..\tests\TestedSaves
FAILURE: 1 out of 2058 tests failed (1 failures).

Failed tests:
[BasicGraphics/MemoryBitmapUpIsUp]
 C:\cygwin64\tmp\factorio-build-M8KtsQ\tests\TestBasicGrapics.cpp:93:
     Unhandled exception while running test:
         File C:/cygwin64/tmp/factorio-build-M8KtsQ/tests/TestImages/black_pixel_top_left.png not found
Test time: 52.79 seconds.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [1.1.26] TestBasicGrapics.cpp test failed, black_pixel_top_left.png not found

Post by posila »

I ... don't care. Sorry.

sp55aa
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Mon Oct 07, 2019 9:27 am
Contact:

Re: [1.1.26] TestBasicGrapics.cpp test failed, black_pixel_top_left.png not found

Post by sp55aa »

posila wrote:
Mon Mar 01, 2021 4:45 pm
I ... don't care. Sorry.
I care.

Code: Select all

Success: 2058 tests passed.
solved by manually create C:\cygwin64\tmp\factorio-build-M8KtsQ\tests\TestImages\black_pixel_top_left.png.
(5x5 png picture, only top left is black, others are white)
black_pixel_top_left.png
black_pixel_top_left.png (137 Bytes) Viewed 1369 times
conclusion: 1 test is broken, but the game is fine.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2240
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.26] TestBasicGrapics.cpp test failed, black_pixel_top_left.png not found

Post by boskid »

If you enjoy running all tests, there will be more files missing
test images
Remaining 3 files are only used when tests are run with graphics. If you want you may run `factorio-test.exe -g --fork` (or even `-gh --fork` for heavy mode with graphics) and they will be used (https://factorio.com/blog/post/fff-288). Other than that everything is fine and those files are in general not required for full game experience.

sp55aa
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Mon Oct 07, 2019 9:27 am
Contact:

Re: [1.1.26] TestBasicGrapics.cpp test failed, black_pixel_top_left.png not found

Post by sp55aa »

boskid wrote:
Tue Mar 02, 2021 8:40 am
If you enjoy running all tests, there will be more files missing
test images
Remaining 3 files are only used when tests are run with graphics. If you want you may run `factorio-test.exe -g --fork` (or even `-gh --fork` for heavy mode with graphics) and they will be used (https://factorio.com/blog/post/fff-288). Other than that everything is fine and those files are in general not required for full game experience.
factorio-test.exe -g: all passed
factorio-test.exe -g --fork: OMG, my little laptop, boom!
factorio-test.exe -gh: still running...

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [1.1.26] TestBasicGrapics.cpp test failed, black_pixel_top_left.png not found

Post by posila »

Ok, I disabled including factorio-test in the deploy package for future releases, so I consider this issue to be resolved.

Post Reply

Return to “Resolved Problems and Bugs”