Aeva / m.grl

Midnight Graphics & Recreation Library
http://mgrl.midnightsisters.org
GNU Lesser General Public License v3.0
44 stars 3 forks source link

asset preloading for automated testing #253

Open Aeva opened 7 years ago

Aeva commented 7 years ago

Many of the shader compiler tests involve comparing expected output vs actual output. The tests could be more comprehensive if this didn't have to be inlined. It also might be useful in the future to include test models and levels (especially after #248).

This ticket is for implementing some kind of manifest of assets for the test runner to load before running any tests, so that said assets can then be accessed normally at test time.

Also update, say, the test for #197 to demonstrate this.