To:
[email protected]
To:
[email protected] (Sam James)
Copy:
[email protected] (=?UTF-8?Q?Arsen_Arsenovi=C4=87?=)
Copy:
[email protected]
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------eT8N82E4p62B9AoYCYA0nSyg
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On 8/9/24 11:59 AM, Maciej Barć wrote:
Hi Sam,
We have a "source" flag so maybe we could either use that or have "test-source" BUT we also have FEATURES="installsources" ...so (if I understand that feature correctly) we can just run test from /usr/src/debug/${CATEGORY}/${PF}
But IMO I'd rather clone the project and run test from the clone.
Of source the drawback of installsources & git cloning is that emerge
does not run any modifications on the tests nor applies patches to them
nor buildsystem/testrunner used.
installsources is not the same thing at all. That parses ELF files to
extract .c / .cpp etc source filenames from debuginfo to save them.
This thread is asking about the idea of compiling test programs and
installing the test executables so that you can run them later. You
absolutely cannot do that with a directory of .c files, for numerous
reasons including the fact that it only saves sources for files which
get installed anyway, but also because it does not install build system
files (meson.build, Makefile, CMakeLists.txt, etc).
P.S. See my gnome documentation link, it talks about git cloning too.
--
Eli Schwartz
--------------eT8N82E4p62B9AoYCYA0nSyg--
-----BEGIN PGP SIGNATURE-----
wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCZrY+SAUDAAAAAAAKCRCEp9ErcA0vVx8b AP91nworiXzI5o2+2WjTg0S40Q+XAh1iq1+IAT3mUqhrggEArhpGTMtfX9tzMcioCApWGHgQiE1E ti/BRUF20RuXTw0=
=m/6G
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)