Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a repository with test projects #44

Open
robojumper opened this issue Jun 15, 2021 · 0 comments
Open

Create a repository with test projects #44

robojumper opened this issue Jun 15, 2021 · 0 comments
Labels
incremental Rebuilding does extra or not enough work.

Comments

@robojumper
Copy link
Member

Right now for X2MBC development, my test projects have been lwotc, CI, and CHL. They exercise radically different parts of X2MBC (asset cooking, HL cooking, massive content/localization setups, large script packages, IncludeSrc. macros) which sounds great in theory, but these differences mean we can't feasibly test parts of the incremental system.

An example would be trying to ensure the compiler for base-game packages isn't needlessly invoked even when switching between mods. CI uses extra_globals.uci, and any changes to macros causes all script packages to be deleted, so switching between CI and lwotc will always (correctly) call the base-game script compiler again (I'm not sure if this is a great example because it needs more investigation, but I've hopefully established the general idea that vastly different projects don't exercise the smaller details in incremental logic).

We should create a repository with a number of test projects and identify interesting build orders that can automatically be invoked to test them, preferably also with a way to match log output in order to describe that a certain build should skip a certain step or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incremental Rebuilding does extra or not enough work.
Projects
None yet
Development

No branches or pull requests

1 participant