mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-10-12 02:13:06 +00:00
19 lines
396 B
C++
19 lines
396 B
C++
#include <gtest/gtest.h>
|
|
|
|
#include "diablo.h"
|
|
#include "options.h"
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
// Disable error dialogs.
|
|
devilution::HeadlessMode = true;
|
|
|
|
#if SDL_VERSION_ATLEAST(2, 0, 0)
|
|
// Disable hardware cursor while testing.
|
|
devilution::sgOptions.Graphics.hardwareCursor.SetValue(false);
|
|
#endif
|
|
|
|
testing::InitGoogleTest(&argc, argv);
|
|
return RUN_ALL_TESTS();
|
|
}
|