Re: [PATCH, PR d/89255][1/3] Add -fbuilding-libphobos-tests

2019-04-11 Thread Iain Buclaw
Patch updated and committed to trunk as r270301. -- Iain --- 2019-04-12 Iain Buclaw * d-tree.h (DECL_IN_UNITTEST_CONDITION_P): Define. * decl.cc (DeclVisitor): Add in_version_unittest_ field. (DeclVisitor::visit(ConditionalDeclaration)): New override. (DeclVisi

[PATCH, PR d/89255][1/3] Add -fbuilding-libphobos-tests

2019-03-29 Thread Iain Buclaw
Hi, Currently, the druntime and phobos unittests are compiled as a separate check program, then ran by the libphobos.unittest/unittest.exp script. As PR 89255 notes, this process lacks proper multilib handling. What I want to do instead is compile and run each module that contains unittests as a