Skip to content

Rewrite matrix-test

Pekka Paalanen requested to merge pq/weston:mr/matrixtest into main

The old matrix-test program was manual: it took a long time to run and needed a human to evaluate if the results were acceptable. It was also between naive and incorrect in its evaluation methods. The old program is removed. This allows deleting UNIT_TEST define as well.

The new matrix test uses well-founded evaluation methods and carefully generated random matrices, runs fast, and determines success itself. That makes it well suited to run in CI, which it does.

Now CI will be able to catch anyone accidentally breaking our 4x4 matrix inversion code.

Merge request reports