OpenMSX icon indicating copy to clipboard operation
OpenMSX copied to clipboard

No tests (make check) is possible

Open ConiKost opened this issue 4 years ago • 3 comments

Hi! It seems, that 'make check' cannot be executed, as files? seems to be missing.

Basically, make check will always fail: /usr/bin/grfid -m openmsx.grf > openmsx.md5 Unable to get requested information: Unable to open file

The problem is, the .grf is never created. If I try to run manually make grf, it will also fail, because it complains of missing openmsx.pnml

[CPP] openmsx.nml
cc -D REPO_REVISION=0 -D NEWGRF_VERSION=0  -C -E -nostdinc -x c-header -o openmsx.nml openmsx.pnml
cc1: fatal error: openmsx.pnml: No such file or directory
compilation terminated.

I am not sure, is it missing or does it has to be created somehow? I can't find anything realated about creation in the Makefile.

ConiKost avatar Jun 29 '21 18:06 ConiKost

OpenMSX is not a newgrf, so none is created. But it uses the same Makefile as other projects.

glx22 avatar Jun 29 '21 18:06 glx22

So basically make check is here a no-op, as it won't work anyway?

ConiKost avatar Jun 29 '21 19:06 ConiKost

I also ran into this issue, see #30 for a list of this and some other build system issues. I'm not sure if make check was ever useful, since I suspect it's not used for multiplayer compatibility like grfs/OpenGFX?

matthijskooijman avatar Nov 23 '21 15:11 matthijskooijman