- To prevent slow compiles of unit tests, replace all of the
'#include "OpenShot.h"' invocations with includes of the
individual headers actually needed by each test file.
Revert "Unit tests: Don't use OpenShot.h header"
This reverts commit e5cc4f8bf91fc60697996023a86dc618637f6161.
Unit tests: Don't use OpenShot.h header
- To prevent slow compiles of unit tests, replace all of the
'#include "OpenShot.h"' invocations with includes of the
individual headers actually needed by each test file.
The Settings test attempts to test the class by changing settings
variables and reading them back again. Problem is, that affects
the REST of the unit tests. So instead of enabling HW accel and
causing crashes, we'll diddle something innocuous, like OMP_THREADS.
Removing the decode setting makes hardware supported decode break.
There must be some hidden dependency on that variable somewhere
which might also be responsible for the problems with nVidia on
Linux. TODO Remove the dependency