On Jun 8, 2016, at 03:02 , Marvin Humphrey <[email protected]> wrote: > > Over time, we should try to make decisions that consolidate as much of build > code as possible in a shared central system (i.e. charmonizer/make for the > foreseeable future). Even if that code eventually gets refactored, it's only > one task to refactor it, as opposed to N tasks to refactor code in N hosts.
Originally, I didn’t want to make Charmonizer a hard requirement but I’m willing to give that up, at least for now. > I would say tests in a separate binary. For example, under the Perl bindings > the core tests for Lucy would be run from a separate XS module (Lucy::CFTest? > LucyCFTest? CFTest?) which has a dependency on the main Lucy XS module. Maybe we should keep the Lucy::Test convention? > That's a solvable problem: we just rename such dirs when moving them to the > host language distro. Then we can find the dirs using logic like this: > > my $CFCORE = -d "cfcore" ? "cfcore" : "../core"; > my $CFTEST = -d "cftest" ? "cftest" : "../test”; OK, then the next step is to move the test code. Nick
