<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hello.<br>
<br>
After recent update of FPC 3.3.1 (and Pas2JS) in Lazarus CI several
Codetools tests related to Pas2JS started failing again:<br>
<br>
TTestPas2js.TestPas2js_ReadSettings: pas2js system unit not found<br>
TTestPas2js.TestPas2js_FindDeclaration: pas2js system unit not found<br>
TTestPas2js.TestPas2js_FindDeclaration_AWait: pas2js system unit not
found<br>
<br>
<p>They worked fine with FPC 3.3.1 from the end of December.</p>
<p>Contents of Pas2JS configuration files follow:<br>
</p>
<br>
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap"><font face="monospace">#7 1429.0
Contents of /usr/local/bin/pas2js.cfg:</font></span></div>
<div class="js-log-line job-log-line"></div>
<code data-testid="job-log-content" class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 #</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 # Minimal config
file for pas2js compiler</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 #</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 # -d is the same as
#DEFINE</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 # -u is the same as
#UNDEF</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 #</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 # Write always a
nice logo ;)</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 -l</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 </span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 # Display Warnings,
Notes and Hints</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 -vwnh</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 # If you don't want
so much verbosity use</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 #-vw</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 </span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 # Allow C-operators</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 -Sc</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 </span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 #IFDEF
FPC_SUBTARGET_NAMESPACED</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0
-Fu$CfgDir/../lib/fpc/3.3.1/pas2js/*/*/namespaced</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0
-Fi$CfgDir/../lib/fpc/3.3.1/pas2js/*/*/src</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 #else</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0
-Fu$CfgDir/../lib/fpc/3.3.1/pas2js/*/*/src</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 #endif</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 </span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 #IFDEF nodejs</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 -Jirtl.js</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 #ENDIF</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 </span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 # Put all generated
JavaScript into one file</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 -Jc</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 </span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 # end.</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">#7 1429.0 Contents of
/usr/local/bin/pas2js-namespaced.cfg:</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block"><span
class="gl-white-space-pre-wrap">#7 1429.0 -dUNICODERTL</span></code><br>
<br>
<pre class="moz-signature">--
Best regards,
Maxim Ganetsky <a class="moz-txt-link-freetext" href="mailto:ganmax@narod.ru">mailto:ganmax@narod.ru</a>
</pre>
</body>
</html>