<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/meson.git/run_tests.py, branch thinlto</title>
<subtitle>github.com: mesonbuild/meson.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/meson.git/'/>
<entry>
<title>pathlib: Fix resolve() by overriding it in Python 3.5</title>
<updated>2020-10-04T08:45:48+00:00</updated>
<author>
<name>Daniel Mensinger</name>
<email>daniel@mensinger-ka.de</email>
</author>
<published>2020-09-29T15:36:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/meson.git/commit/?id=1dfaccfd9129aa4ac24b46f0a9490b19ae59adc0'/>
<id>1dfaccfd9129aa4ac24b46f0a9490b19ae59adc0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>compilers/mixins/clike: fix mypy issues</title>
<updated>2020-09-24T19:14:13+00:00</updated>
<author>
<name>Dylan Baker</name>
<email>dylan@pnwbakers.com</email>
</author>
<published>2020-08-24T05:39:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/meson.git/commit/?id=bb3fe3c4519305158e1dc8a26a216473b92b3beb'/>
<id>bb3fe3c4519305158e1dc8a26a216473b92b3beb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Make monkey patching smarter</title>
<updated>2020-09-17T11:26:50+00:00</updated>
<author>
<name>Dylan Baker</name>
<email>dylan@pnwbakers.com</email>
</author>
<published>2020-09-14T23:32:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/meson.git/commit/?id=80ec7ec6810dfd8b8bf84f089d59b9320b6da36c'/>
<id>80ec7ec6810dfd8b8bf84f089d59b9320b6da36c</id>
<content type='text'>
There are two problems here. The first is that we're doing manual monkey
patching which is fragile and verbose, when unittest.mock is designed
specifically to solve this exact problem. The second is that we're
monkey patching os.environ at two different levels with the same
information. So let's only do it once.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are two problems here. The first is that we're doing manual monkey
patching which is fragile and verbose, when unittest.mock is designed
specifically to solve this exact problem. The second is that we're
monkey patching os.environ at two different levels with the same
information. So let's only do it once.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a test run in an environment which only has a cross compiler</title>
<updated>2020-09-10T07:20:41+00:00</updated>
<author>
<name>Jon Turney</name>
<email>jon.turney@dronecode.org.uk</email>
</author>
<published>2020-09-08T18:27:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/meson.git/commit/?id=36600d7465e854c6f3d7fc824a7fa5d4415a6292'/>
<id>36600d7465e854c6f3d7fc824a7fa5d4415a6292</id>
<content type='text'>
Add '--cross-only' option to run_tests.py, so we can arrange not to run
tests in the 'native' suite when only a cross-compiler is available, as
they can't succeed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add '--cross-only' option to run_tests.py, so we can arrange not to run
tests in the 'native' suite when only a cross-compiler is available, as
they can't succeed.
</pre>
</div>
</content>
</entry>
<entry>
<title>typing: fixup of #7688</title>
<updated>2020-09-08T18:15:59+00:00</updated>
<author>
<name>Daniel Mensinger</name>
<email>daniel@mensinger-ka.de</email>
</author>
<published>2020-09-04T13:50:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/meson.git/commit/?id=8f95efe40b6af4b49b692d1875066759c44a009d'/>
<id>8f95efe40b6af4b49b692d1875066759c44a009d</id>
<content type='text'>
This bug not beeing caught in review is another reason for
adding strict typing support to meson.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This bug not beeing caught in review is another reason for
adding strict typing support to meson.
</pre>
</div>
</content>
</entry>
<entry>
<title>run_*tests*.py: print Meson version at start of test suite</title>
<updated>2020-06-15T20:33:40+00:00</updated>
<author>
<name>Michael Hirsch</name>
<email>scivision@users.noreply.github.com</email>
</author>
<published>2020-05-14T17:55:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/meson.git/commit/?id=1ec84c570fe33309a388238c247caac9578b2191'/>
<id>1ec84c570fe33309a388238c247caac9578b2191</id>
<content type='text'>
on some systems, tests may take over an hour to run--only to find
you might have used an unintended Meson version (e.g. release instead
of dev). This change prints the Meson version at the start of the
run_*tests*.py scripts.

Also, raise SystemExit(main()) is preferred in general over
sys.exit(main())
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
on some systems, tests may take over an hour to run--only to find
you might have used an unintended Meson version (e.g. release instead
of dev). This change prints the Meson version at the start of the
run_*tests*.py scripts.

Also, raise SystemExit(main()) is preferred in general over
sys.exit(main())
</pre>
</div>
</content>
</entry>
<entry>
<title>Make colourize_console() a function</title>
<updated>2020-04-30T19:11:31+00:00</updated>
<author>
<name>Jon Turney</name>
<email>jon.turney@dronecode.org.uk</email>
</author>
<published>2020-02-12T00:03:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/meson.git/commit/?id=f107f9b3962167e1ff5014951aa89fdc176ea683'/>
<id>f107f9b3962167e1ff5014951aa89fdc176ea683</id>
<content type='text'>
Currently, colourize_console is a constant, set at process
initialization.

To allow the actual stdout to be easily compared with the expected when
running tests, we want to allow colourization to be on for the test
driver, but not for the in-process configure done by run_configure,
which has stdout redirected from a tty to a pipe.

v2:
Cache _colorize_console per file object

v3:
Reset cache on setup_console()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, colourize_console is a constant, set at process
initialization.

To allow the actual stdout to be easily compared with the expected when
running tests, we want to allow colourization to be on for the test
driver, but not for the in-process configure done by run_configure,
which has stdout redirected from a tty to a pipe.

v2:
Cache _colorize_console per file object

v3:
Reset cache on setup_console()
</pre>
</div>
</content>
</entry>
<entry>
<title>Compiler options per lang</title>
<updated>2020-04-20T20:23:15+00:00</updated>
<author>
<name>John Ericson</name>
<email>John.Ericson@Obsidian.Systems</email>
</author>
<published>2019-06-12T22:08:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/meson.git/commit/?id=278c294aa45efc3e8b068bcd7632828ed5c92523'/>
<id>278c294aa45efc3e8b068bcd7632828ed5c92523</id>
<content type='text'>
A current rather untyped storage of options is one of the things that
contributes to the options code being so complex. This takes a small
step in synching down by storing the compiler options in dicts per
language.

Future work might be replacing the langauge strings with an enum, and
defaultdict with a custom struct, just like `PerMachine` and
`MachineChoice`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A current rather untyped storage of options is one of the things that
contributes to the options code being so complex. This takes a small
step in synching down by storing the compiler options in dicts per
language.

Future work might be replacing the langauge strings with an enum, and
defaultdict with a custom struct, just like `PerMachine` and
`MachineChoice`.
</pre>
</div>
</content>
</entry>
<entry>
<title>ninjabackend: List PDBs in output list for targets</title>
<updated>2020-02-22T01:19:34+00:00</updated>
<author>
<name>Nirbheek Chauhan</name>
<email>nirbheek@centricular.com</email>
</author>
<published>2020-02-16T13:01:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/meson.git/commit/?id=be486a2ec84f22052fba5ba16de136de00379966'/>
<id>be486a2ec84f22052fba5ba16de136de00379966</id>
<content type='text'>
This is more correct, and forces the target(s) to be rebuilt if the
PDB files are missing. Increases the minimum required Ninja to 1.7,
which is available in Ubuntu 16.04 under backports.

We can't do the same for import libraries, because it is impossible
for us to know at configure time whether or not an import library will
be generated for a given DLL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is more correct, and forces the target(s) to be rebuilt if the
PDB files are missing. Increases the minimum required Ninja to 1.7,
which is available in Ubuntu 16.04 under backports.

We can't do the same for import libraries, because it is impossible
for us to know at configure time whether or not an import library will
be generated for a given DLL.
</pre>
</div>
</content>
</entry>
<entry>
<title>Specify crossfile use in CI job configuration</title>
<updated>2020-01-28T21:41:22+00:00</updated>
<author>
<name>Jon Turney</name>
<email>jon.turney@dronecode.org.uk</email>
</author>
<published>2018-12-04T20:12:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/meson.git/commit/?id=26d1c2a52d57616d3ae445dc486a67825fe2af98'/>
<id>26d1c2a52d57616d3ae445dc486a67825fe2af98</id>
<content type='text'>
Pull the crossfile specification out of run_test.py so it can be
specified in the CI job configuration.

Also make some fixes to output ordering in run_test.py.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull the crossfile specification out of run_test.py so it can be
specified in the CI job configuration.

Also make some fixes to output ordering in run_test.py.
</pre>
</div>
</content>
</entry>
</feed>
