<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/scons-git.git/test/Repository, branch master</title>
<subtitle>github.com: SCons/scons.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/scons-git.git/'/>
<entry>
<title>Speed up a few tests for CI</title>
<updated>2022-11-15T20:48:58+00:00</updated>
<author>
<name>Mats Wichmann</name>
<email>mats@linux.com</email>
</author>
<published>2022-11-15T20:48:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/scons-git.git/commit/?id=bd7e9a16111b1e43feee2a0d1b18107614f5d356'/>
<id>bd7e9a16111b1e43feee2a0d1b18107614f5d356</id>
<content type='text'>
A collection of tests known to be among the slower ones to run on Windows
got the addition of DefaultEnvironment(tools=[]) calls in an attempt to
speed things up a bit.  The is no test strategy change.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A collection of tests known to be among the slower ones to run on Windows
got the addition of DefaultEnvironment(tools=[]) calls in an attempt to
speed things up a bit.  The is no test strategy change.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Normalize use of test.sleep()</title>
<updated>2022-05-31T14:42:08+00:00</updated>
<author>
<name>Mats Wichmann</name>
<email>mats@linux.com</email>
</author>
<published>2022-05-13T14:18:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/scons-git.git/commit/?id=c7272c7367f1c3f819645d996c6d93449cf14f5b'/>
<id>c7272c7367f1c3f819645d996c6d93449cf14f5b</id>
<content type='text'>
Some tests used time.sleep while others used the harness's test.sleep,
the ones that are done for file timestamp delay management now all use
test.sleep - with a consistent comment, so it's easier to spot.
There are still tests that use time.sleep with smaller intervals that
were left alone.

Affected tests were reformatted, in the spirit of gradually improving
tests that you otherwise touch...

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some tests used time.sleep while others used the harness's test.sleep,
the ones that are done for file timestamp delay management now all use
test.sleep - with a consistent comment, so it's easier to spot.
There are still tests that use time.sleep with smaller intervals that
were left alone.

Affected tests were reformatted, in the spirit of gradually improving
tests that you otherwise touch...

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #4047 from jcassagnol-public/compile-with-fips-enabled</title>
<updated>2021-11-16T18:46:46+00:00</updated>
<author>
<name>William Deegan</name>
<email>bill@baddogconsulting.com</email>
</author>
<published>2021-11-16T18:46:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/scons-git.git/commit/?id=02f4075bf491267bbc872587d9845086560fc6b1'/>
<id>02f4075bf491267bbc872587d9845086560fc6b1</id>
<content type='text'>
Fix tests to work with FIPS enabled</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix tests to work with FIPS enabled</pre>
</div>
</content>
</entry>
<entry>
<title>Tests pass in python 3.6 and 3.9 in Linux</title>
<updated>2021-11-09T17:45:16+00:00</updated>
<author>
<name>Jacob Cassagnol</name>
<email>87133045+jcassagnol-public@users.noreply.github.com</email>
</author>
<published>2021-11-09T17:45:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/scons-git.git/commit/?id=699d6b0d571827de973e027d765f64b629f08ed9'/>
<id>699d6b0d571827de973e027d765f64b629f08ed9</id>
<content type='text'>
Modified failing tests to use the new defaulted .sconsign database based on the hash algorithm
For MD5, default database will be .sconsign.dblite
For other algorithms the default will be .sconsign_&lt;hashname&gt;.dblite.
For all cases where the user changes the hash algorithm used, the database will be .sconsign_&lt;hashname&gt;.dblite (including md5)
For sub-scons directories it remains as .sconsign
Also added unit-tests for Util.py for the new hash default changes.
It's difficult to setup a fips-compliant platform using containers, and instead we mock that.
option--config uses multiple types of hash algorithms so was skipped.
Removed one f-string (python 3.5 doesn't support those)
Corrupt.py is using an explicit .sconsign so that was left as-is, and only the parent default .sconsign was changed for work test 1.
A fetch-database name option was added to the testing framework.
The unlink_sconsignfile was not updated as no usages of it were found.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modified failing tests to use the new defaulted .sconsign database based on the hash algorithm
For MD5, default database will be .sconsign.dblite
For other algorithms the default will be .sconsign_&lt;hashname&gt;.dblite.
For all cases where the user changes the hash algorithm used, the database will be .sconsign_&lt;hashname&gt;.dblite (including md5)
For sub-scons directories it remains as .sconsign
Also added unit-tests for Util.py for the new hash default changes.
It's difficult to setup a fips-compliant platform using containers, and instead we mock that.
option--config uses multiple types of hash algorithms so was skipped.
Removed one f-string (python 3.5 doesn't support those)
Corrupt.py is using an explicit .sconsign so that was left as-is, and only the parent default .sconsign was changed for work test 1.
A fetch-database name option was added to the testing framework.
The unlink_sconsignfile was not updated as no usages of it were found.
</pre>
</div>
</content>
</entry>
<entry>
<title>Also make Repository/JavaH test skip if mismatched javah</title>
<updated>2021-11-01T17:53:11+00:00</updated>
<author>
<name>Mats Wichmann</name>
<email>mats@linux.com</email>
</author>
<published>2021-11-01T17:53:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/scons-git.git/commit/?id=850bc69d26d078008e750b1a6c096655499bb1ca'/>
<id>850bc69d26d078008e750b1a6c096655499bb1ca</id>
<content type='text'>
Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip unusable javah tests</title>
<updated>2021-10-31T18:53:59+00:00</updated>
<author>
<name>Mats Wichmann</name>
<email>mats@linux.com</email>
</author>
<published>2021-10-31T18:34:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/scons-git.git/commit/?id=c8a32bbade10418eb613ac5c4be90ea6494d6aa8'/>
<id>c8a32bbade10418eb613ac5c4be90ea6494d6aa8</id>
<content type='text'>
For the three tests which fail, skip if the command finder (WhereIs), which
is much less aggressive than the java_where_j* routines, doesn't find javah.

Split the JAVAH test file into two files, so that the part which
doesn't call javah can run even if the rest is skipped.

Did the header cleanup and partial reformats on those.

Leave a comment in the Repository/JavaH test, and do some reformatting
there as well.  Test needs rework, but for now doesn't fail so leave alone.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For the three tests which fail, skip if the command finder (WhereIs), which
is much less aggressive than the java_where_j* routines, doesn't find javah.

Split the JAVAH test file into two files, so that the part which
doesn't call javah can run even if the rest is skipped.

Did the header cleanup and partial reformats on those.

Leave a comment in the Repository/JavaH test, and do some reformatting
there as well.  Test needs rework, but for now doesn't fail so leave alone.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Address most sider complaints</title>
<updated>2021-09-18T23:48:01+00:00</updated>
<author>
<name>William Deegan</name>
<email>bill@baddogconsulting.com</email>
</author>
<published>2021-08-30T18:46:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/scons-git.git/commit/?id=d9e034fb0a6b4bb94997f7f4e98802c08bdbc507'/>
<id>d9e034fb0a6b4bb94997f7f4e98802c08bdbc507</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: use framework for platform-specific defines</title>
<updated>2021-08-24T15:01:28+00:00</updated>
<author>
<name>Mats Wichmann</name>
<email>mats@linux.com</email>
</author>
<published>2021-07-21T16:22:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/scons-git.git/commit/?id=31518aea4593ae452b73c7acd7e48d604f59d806'/>
<id>31518aea4593ae452b73c7acd7e48d604f59d806</id>
<content type='text'>
Tweaked some tests which directly set values for _exe, _obj,
which are available from the framework. Done for consistency,
none of these were doing these wrong.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tweaked some tests which directly set values for _exe, _obj,
which are available from the framework. Done for consistency,
none of these were doing these wrong.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Run autoflake on code</title>
<updated>2020-09-21T16:39:39+00:00</updated>
<author>
<name>Mats Wichmann</name>
<email>mats@linux.com</email>
</author>
<published>2020-09-21T14:21:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/scons-git.git/commit/?id=22c489260a659971aa6cea88f1024824fe31152d'/>
<id>22c489260a659971aa6cea88f1024824fe31152d</id>
<content type='text'>
Eliminate unneeded imports, and a few unneeded statements -
usually "pass" where it is not syntactically needed.

A couple of import try blocks were eliminated or changed
when they're "cannot happen" due to current floor Python version.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Eliminate unneeded imports, and a few unneeded statements -
usually "pass" where it is not syntactically needed.

A couple of import try blocks were eliminated or changed
when they're "cannot happen" due to current floor Python version.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix quoting on  IMPLICIT_COMMAND_DEPENDENCIES=all</title>
<updated>2020-04-09T20:54:48+00:00</updated>
<author>
<name>William Deegan</name>
<email>bill@baddogconsulting.com</email>
</author>
<published>2020-03-22T04:41:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/scons-git.git/commit/?id=7b5438367cd25d1cb093a323d4b9c997cd26fd79'/>
<id>7b5438367cd25d1cb093a323d4b9c997cd26fd79</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
