Page 1 of 1
[posila] [1.1.26] TestBasicGrapics.cpp test failed, black_pixel_top_left.png not found
Posted: Mon Mar 01, 2021 4:30 pm
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.
Re: [1.1.26] TestBasicGrapics.cpp test failed, black_pixel_top_left.png not found
Posted: Mon Mar 01, 2021 4:45 pm
by posila
I ... don't care. Sorry.
Re: [1.1.26] TestBasicGrapics.cpp test failed, black_pixel_top_left.png not found
Posted: Tue Mar 02, 2021 7:19 am
by sp55aa
posila wrote: Mon Mar 01, 2021 4:45 pm
I ... don't care. Sorry.
I care.
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 (137 Bytes) Viewed 1925 times
conclusion: 1 test is broken, but the game is fine.
Re: [1.1.26] TestBasicGrapics.cpp test failed, black_pixel_top_left.png not found
Posted: Tue Mar 02, 2021 8:40 am
by boskid
If you enjoy running all tests, there will be more files missing
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.
Re: [1.1.26] TestBasicGrapics.cpp test failed, black_pixel_top_left.png not found
Posted: Tue Mar 02, 2021 9:43 am
by sp55aa
boskid wrote: Tue Mar 02, 2021 8:40 am
If you enjoy running all tests, there will be more files missing
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...
Re: [1.1.26] TestBasicGrapics.cpp test failed, black_pixel_top_left.png not found
Posted: Tue Mar 02, 2021 1:12 pm
by posila
Ok, I disabled including factorio-test in the deploy package for future releases, so I consider this issue to be resolved.