You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
457 B
17 lines
457 B
#include <gtest/gtest.h> |
|
|
|
#include "diablo.h" |
|
#include "utils/paths.h" |
|
|
|
int main(int argc, char **argv) |
|
{ |
|
// Disable error dialogs. |
|
devilution::gbQuietMode = true; |
|
|
|
// Let the tests find `devilutionx.mpq` or `assets/`. |
|
devilution::paths::SetAssetsPath(devilution::paths::BasePath() + "../assets"); |
|
devilution::paths::SetBasePath(devilution::paths::BasePath() + ".."); |
|
|
|
testing::InitGoogleTest(&argc, argv); |
|
return RUN_ALL_TESTS(); |
|
}
|
|
|