Page MenuHomeWildfire Games

Fix mod regex in rP20637
ClosedPublic

Authored by elexis on Dec 15 2017, 9:13 PM.

Details

Summary

As pointed out by Imarok, the case insensitive flag isn't effective. As pointed out by mimo, the dependency comparison operator regex failed.
Also the version instead of the name regex was used in validateDependencies.

Test Plan

Try enabling Delenda Est. Try the updated tests in this diff without the remaining patch.

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

elexis created this revision.Dec 15 2017, 9:13 PM
Vulcan added a subscriber: Vulcan.Dec 15 2017, 9:17 PM

Successful build - Chance fights ever on the side of the prudent.

Updating workspaces...
Build (release)...
Build (debug)...
Running release tests...
Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK!
Running debug tests...
Running cxxtest tests (308 tests)....................................................................................................................................................................................................................................................................................................................OK!
Checking XML files...
Executing section Default...
Executing section Source...
Executing section JS...
mimo accepted this revision.Dec 15 2017, 9:49 PM
mimo added a subscriber: mimo.

Patch looks good, and dependency now works

This revision is now accepted and ready to land.Dec 15 2017, 9:49 PM
This revision was automatically updated to reflect the committed changes.