[fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again

Michael Van Canneyt michael at freepascal.org
Mon Mar 18 20:29:48 CET 2024



On Mon, 18 Mar 2024, Maxim Ganetsky via fpc-devel wrote:

> Hello.
>
> 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 Contents of /usr/local/bin/pas2js.cfg:
> |
> #7 1429.0 #
> ||
> #7 1429.0 # Minimal config file for pas2js compiler
> ||
> #7 1429.0 #
> ||
> #7 1429.0 # -d is the same as #DEFINE
> ||
> #7 1429.0 # -u is the same as #UNDEF
> ||
> #7 1429.0 #
> ||
> #7 1429.0 # Write always a nice logo ;)
> ||
> #7 1429.0 -l
> ||
> #7 1429.0
> ||
> #7 1429.0 # Display Warnings, Notes and Hints
> ||
> #7 1429.0 -vwnh
> ||
> #7 1429.0 # If you don't want so much verbosity use
> ||
> #7 1429.0 #-vw
> ||
> #7 1429.0
> ||
> #7 1429.0 # Allow C-operators
> ||
> #7 1429.0 -Sc
> ||
> #7 1429.0
> ||
> #7 1429.0 #IFDEF FPC_SUBTARGET_NAMESPACED
> ||
> #7 1429.0 -Fu$CfgDir/../lib/fpc/3.3.1/pas2js/*/*/namespaced
> ||
> #7 1429.0 -Fi$CfgDir/../lib/fpc/3.3.1/pas2js/*/*/src

This seems wrong to me, but Mattias will need to look at this.

Michael.


More information about the fpc-devel mailing list