Tests: added new test that detects regressions in serial test run order
CTest: reproduce old test order in serial test runs
Merge topic 'fix-ctest-regressions' into next

727c02b CTest: reproduce old test order in serial test runs
49996fb Tests: added new test that detects regressions in serial test run order
CTest: fix regressions introduced by the ctest-fix-run-serial topic

The first regression resulted in endless looping due to unrun test
dependencies. The second regression prioritized all tests with dependencies
in serial test runs.
Merge topic 'fix-ctest-regressions' into next

7f0d4af CTest: fix regressions introduced by the ctest-fix-run-serial topic