abaire / nxdk_pgraph_tests

Tests to verify xemu handling of various pushbuffer commands
Other
12 stars 8 forks source link

Reset to known state before starting any test suite #22

Open abaire opened 2 years ago

abaire commented 2 years ago

14 shows how easy it is to leak important pgraph state when switching between tests. We should modify the test host to reset everything to some known baseline before invoking any test suite so it can be ~guaranteed to be hermetic.

abaire commented 2 years ago

A decent chunk of this work was done in #26 by implementing a default TestSuite::Iniitialize(). As tests extend coverage of nv2a functionality we should make sure to preserve the initial state in that base-class call to avoid bleed over.