<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/scons-git.git/test, branch master</title>
<subtitle>github.com: SCons/scons.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/scons-git.git/'/>
<entry>
<title>runtest: add additional test of os.sep usage</title>
<updated>2023-05-08T14:06:27+00:00</updated>
<author>
<name>Mats Wichmann</name>
<email>mats@linux.com</email>
</author>
<published>2023-04-19T14:40:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/scons-git.git/commit/?id=c31c4d7032eede7eb7389c79a9a602da17487811'/>
<id>c31c4d7032eede7eb7389c79a9a602da17487811</id>
<content type='text'>
Make sure test lists with "foreign" separator still cause the
correct discovery/usage.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure test lists with "foreign" separator still cause the
correct discovery/usage.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use pathlib in runtest</title>
<updated>2023-05-08T14:06:21+00:00</updated>
<author>
<name>Mats Wichmann</name>
<email>mats@linux.com</email>
</author>
<published>2021-11-11T22:12:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/scons-git.git/commit/?id=aed512b9626a44e19b0368f241ca504cffa01a22'/>
<id>aed512b9626a44e19b0368f241ca504cffa01a22</id>
<content type='text'>
In the past, there have been some mismatches between how tests are
specified and how they are found.  testlist files, excludelist files
and command-line specifications should be agnostic to operating system
conventions. For example, typing "runtest.py foo/bar" on windows
will produce paths like foo/bar\test.py, which is hard to match and
painful to read, it should obviously match discovered foo\bar\test.py.
Test information should be output using the native path separator for
consistency.

Using pathlib lets these be normalized - stored in a common format and
output in the expected format.

Adding this normalization of course broke some tests, which either
intentionally or through omission expected some portion of a path to
be UNIX-style. Specifically these five:

    test\runtest\baseline\fail.py
    test\runtest\baseline\no_result.py
    test\runtest\simple\fail.py
    test\runtest\simple\no_result.py
    test\runtest\simple\pass.py
    test\runtest\testargv.py

This was fixed and a general cleanup/reformat performed on the
runtest tests.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the past, there have been some mismatches between how tests are
specified and how they are found.  testlist files, excludelist files
and command-line specifications should be agnostic to operating system
conventions. For example, typing "runtest.py foo/bar" on windows
will produce paths like foo/bar\test.py, which is hard to match and
painful to read, it should obviously match discovered foo\bar\test.py.
Test information should be output using the native path separator for
consistency.

Using pathlib lets these be normalized - stored in a common format and
output in the expected format.

Adding this normalization of course broke some tests, which either
intentionally or through omission expected some portion of a path to
be UNIX-style. Specifically these five:

    test\runtest\baseline\fail.py
    test\runtest\baseline\no_result.py
    test\runtest\simple\fail.py
    test\runtest\simple\no_result.py
    test\runtest\simple\pass.py
    test\runtest\testargv.py

This was fixed and a general cleanup/reformat performed on the
runtest tests.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor cleanup ValidateOptions doc/code/test</title>
<updated>2023-04-14T16:16:29+00:00</updated>
<author>
<name>Mats Wichmann</name>
<email>mats@linux.com</email>
</author>
<published>2023-02-20T20:26:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/scons-git.git/commit/?id=6ce33bdadec1cf558a6d0df27a6a083516d6cf23'/>
<id>6ce33bdadec1cf558a6d0df27a6a083516d6cf23</id>
<content type='text'>
Some nearby things in Main.py as well:
- docstrings polished a bit, minor linting
- move the list of predefined SConstruct file names into a constant
  defined at the top of the file, so it's a little less hidden,
  in the unlikely case of future changes.

Manpage text and example revised a bit.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some nearby things in Main.py as well:
- docstrings polished a bit, minor linting
- move the list of predefined SConstruct file names into a constant
  defined at the top of the file, so it's a little less hidden,
  in the unlikely case of future changes.

Manpage text and example revised a bit.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ParseConfig test fix</title>
<updated>2023-03-09T19:50:43+00:00</updated>
<author>
<name>Mats Wichmann</name>
<email>mats@linux.com</email>
</author>
<published>2023-03-09T19:50:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/scons-git.git/commit/?id=e58b9c382ddf00c48027a9610589a59062ecce70'/>
<id>e58b9c382ddf00c48027a9610589a59062ecce70</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>Fix problem when MergeFlags adds to existing CPPDEFINES</title>
<updated>2023-03-09T19:25:28+00:00</updated>
<author>
<name>Mats Wichmann</name>
<email>mats@linux.com</email>
</author>
<published>2023-03-09T19:05:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/scons-git.git/commit/?id=a4ab466c6df5bd3187e78c36bfa8f68e1fb7659e'/>
<id>a4ab466c6df5bd3187e78c36bfa8f68e1fb7659e</id>
<content type='text'>
MergeFlags has a post-processing step if the *unique* flag evaluates True
which loops through and removes the duplicates. This step uses slicing
(for v in orig[::-1]), which fails if the item being cleaned is a deque -
which CPPDEFINES can now be. It would also cause the deque to be
replaced with a list.  Detect this case and handle separately.

Note the same post-processing step assures each modified object will
be replaced - Override(parse_flags=xxx) silently counted on this so
it does not end up sharing variables with the overridden env. This
situation remains, and is accounted for by the patch.

Unit test and e2e tests are extended to check that MergeFlags can now
add correctly, and that Override leaves the variables independent,
not shared.

Fixes #4231

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MergeFlags has a post-processing step if the *unique* flag evaluates True
which loops through and removes the duplicates. This step uses slicing
(for v in orig[::-1]), which fails if the item being cleaned is a deque -
which CPPDEFINES can now be. It would also cause the deque to be
replaced with a list.  Detect this case and handle separately.

Note the same post-processing step assures each modified object will
be replaced - Override(parse_flags=xxx) silently counted on this so
it does not end up sharing variables with the overridden env. This
situation remains, and is accounted for by the patch.

Unit test and e2e tests are extended to check that MergeFlags can now
add correctly, and that Override leaves the variables independent,
not shared.

Fixes #4231

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix textfile test failing (only on windows) needed to switch generated file comparison from r (text) to rb (read binary) since we now include unicode, and test logic assumes r = ascii</title>
<updated>2023-03-03T02:29:30+00:00</updated>
<author>
<name>William Deegan</name>
<email>bill@baddogconsulting.com</email>
</author>
<published>2023-03-03T02:29:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/scons-git.git/commit/?id=c7f936f285dcaa3d4aed99e9ae05489ff3992e61'/>
<id>c7f936f285dcaa3d4aed99e9ae05489ff3992e61</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test/import works on dummy qt tool now</title>
<updated>2023-03-01T21:00:43+00:00</updated>
<author>
<name>Mats Wichmann</name>
<email>mats@linux.com</email>
</author>
<published>2023-03-01T21:00:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/scons-git.git/commit/?id=5e9e2eb6fced85e8cc59d1fcaa9ecb10b2d8f5aa'/>
<id>5e9e2eb6fced85e8cc59d1fcaa9ecb10b2d8f5aa</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>Update PR 4305: failing stub qt tool</title>
<updated>2023-03-01T14:51:25+00:00</updated>
<author>
<name>Mats Wichmann</name>
<email>mats@linux.com</email>
</author>
<published>2023-03-01T14:51:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/scons-git.git/commit/?id=a4c586aaf7d453c6f202ec1c026fdacb4f9eb9c8'/>
<id>a4c586aaf7d453c6f202ec1c026fdacb4f9eb9c8</id>
<content type='text'>
Proposed addition of code to cause stub qt to fail,
and test/import.py to detect this situation.
Unfortunately, it doesn't seem to work... needs adjustment.

Doc updates to record rename version.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Proposed addition of code to cause stub qt to fail,
and test/import.py to detect this situation.
Unfortunately, it doesn't seem to work... needs adjustment.

Doc updates to record rename version.

Signed-off-by: Mats Wichmann &lt;mats@linux.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix test/import.py for qt3 changes</title>
<updated>2023-02-24T03:49:33+00:00</updated>
<author>
<name>William Deegan</name>
<email>bill@baddogconsulting.com</email>
</author>
<published>2023-02-24T03:49:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/scons-git.git/commit/?id=6df636f3a3a6058dd720f6ce301a0db368fea8e2'/>
<id>6df636f3a3a6058dd720f6ce301a0db368fea8e2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>moved the qt tool to qt3. Changed all QT envvars to be now prefixed with QT3</title>
<updated>2023-02-24T01:31:21+00:00</updated>
<author>
<name>William Deegan</name>
<email>bill@baddogconsulting.com</email>
</author>
<published>2023-02-24T01:31:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/scons-git.git/commit/?id=181ce80cf3df9a8f6ba7efd3dee77d8e92158337'/>
<id>181ce80cf3df9a8f6ba7efd3dee77d8e92158337</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
