[PATCH, d] Committed ensure all unittests are registered against the original module.

Iain Buclaw ibuclaw@gdcproject.org
Sun Apr 21 07:17:00 GMT 2019


Hi,

This patch is a follow-up fix for PR d/89255, as any unittest
functions registered against the testing module when compiling with
-fbuilding-libphobos-tests are ignored during the generation of the
ModuleInfo data.

Regression tested on x86_64-linux-gnu.

Committed to trunk as r270477.

-- 
Iain
---
gcc/d/ChangeLog:

2019-04-21  Iain Buclaw  <ibuclaw@gdcproject.org>

        * modules.cc (register_module_decl): Don't register unittests against
        the ModuleInfo symbol for -fbuilding-libphobos-tests.

---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unittestsrun.patch
Type: text/x-patch
Size: 627 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190421/decb620c/attachment.bin>


More information about the Gcc-patches mailing list