User:Bugman/subsystems

From FlightGear wiki
< User:Bugman
Revision as of 06:51, 22 October 2019 by Bugman (talk | contribs) (→‎All subsystems: Updates for the latest on next.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Tracking down subsystems

Script

The following script is for finding all FlightGear dependencies:

All subsystems

The result is:

);

/flightgear/src/flightgear-flightgear/src/Scenery/scenery.cxx: {"SGSky", SGSubsystemMgr::Dependency::NONSUBSYSTEM_HARD}}); /flightgear/src/flightgear-flightgear/src/Time/light.cxx: SGSky* thesky = globals->get_renderer()->getSky(); /flightgear/src/flightgear-flightgear/src/Time/light.cxx: SGSky* thesky = globals->get_renderer()->getSky(); }}

Refactoring

To check that all subsystems on a branch have been updated or refactored:

Automated test suite test creation

This script was used to generate the instanced and non-instanced subsystem system tests: