Hello.
After recent update of FPC 3.3.1 (and Pas2JS) in Lazarus CI several
Codetools tests related to Pas2JS started failing:
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 November 30.
Is this an FPC regression or the tests should be adapted somehow? Can
this be related to introduction of subtargets to Pas2JS?
Contents of /usr/local/bin/pas2js.cfg:
#
# Minimal config file for pas2js compiler
#
# -d is the same as #DEFINE
# -u is the same as #UNDEF
#
# Write always a nice logo 😉
-l
# Display Warnings, Notes and Hints
-vwnh
# If you don't want so much verbosity use
#-vw
-Fu$CfgDir/../lib/fpc/3.3.1/pas2js/*
#IFDEF nodejs
-Jirtl.js
#ENDIF
# Put all generated JavaScript into one file
-Jc
# end.
--
Best regards,
Maxim Ganetsky mailto:gan...@narod.ru
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel