Page MenuHomePhorge

Split each test into its own executable
ClosedPublic

Authored by tusooa on May 25 2024, 8:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 4, 12:28 PM
Unknown Object (File)
Wed, Sep 4, 6:45 AM
Unknown Object (File)
Mon, Sep 2, 6:38 PM
Unknown Object (File)
Mon, Sep 2, 3:43 PM
Unknown Object (File)
Mon, Sep 2, 3:43 PM
Unknown Object (File)
Mon, Sep 2, 3:43 PM
Unknown Object (File)
Mon, Sep 2, 3:43 PM
Unknown Object (File)
Mon, Sep 2, 3:40 PM
Subscribers
None

Details

Summary

The tests were all in one executable, causing these problems:

  1. The linking time was very long, and it took a lot of memory.
  2. When one changed something in the libs, all tests had to be rebuilt, not only the relevant ones. This led to lower efficiency when coding.

This commit splits each test file into its own executable.

Type: skip

Test Plan

Verify unit tests pass.

Diff Detail

Repository
rL libkazv
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

  • Reduce libraries linked
Harbormaster returned this revision to the author for changes because remote builds failed.May 25 2024, 9:15 AM
Harbormaster failed remote builds in B52: Diff 85!
  • Link to threads for all tests
Harbormaster returned this revision to the author for changes because remote builds failed.May 25 2024, 1:20 PM
Harbormaster failed remote builds in B55: Diff 88!
This revision is now accepted and ready to land.May 29 2024, 6:20 AM