On 18.03.24 18:43, Maxim Ganetsky via fpc-devel wrote:
[...]
After recent update of FPC 3.3.1 (and Pas2JS) in Lazarus CI several
Codetools tests related to Pas2JS started failing again:
TTestPas2js.TestPas2js_ReadSettings: pas2js system unit not found
TTestPas2js.TestPas2js_FindDeclaration: pas2js system unit not found
TTestPas2js.TestPas2js_FindDeclaration_AWait: pas2js system unit not found
They worked fine with FPC 3.3.1 from the end of December.
Contents of Pas2JS configuration files follow:
[...]
#7 1429.0 #else
||
#7 1429.0 -Fu$CfgDir/../lib/fpc/3.3.1/pas2js/*/*/src
This should be enough
-Fu$CfgDir/../lib/fpc/3.3.1/pas2js/packages/*/src
[...]
Can you compile a simple Helloworld?
begin
writeln('Hi');
end.
?
If this works, you might try removing the
components/codetools/tests/codetools.config, so codetools rebuild the cache.
Mattias
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel