Skip to content

Commit

Permalink
Ogre and Ogre2 are not compatible. Prefer to have Ogre2.
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero authored Dec 3, 2024
1 parent 7497397 commit a712899
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/test_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
#ifdef __APPLE__
static const std::vector<const char *> kRenderEngineTestValues{"ogre", "optix"};
#else
/// We can not mix ogre and ogre2 tests in Fortress for a single test file
/// prefer here ogre2 over ogre.
#if defined(HAVE_OGRE) && defined(HAVE_OPTIX) && defined(HAVE_OGRE2)
static const std::vector<const char *> kRenderEngineTestValues{"ogre", "ogre2", "optix"};
static const std::vector<const char *> kRenderEngineTestValues{"ogre2", "optix"};
#elif defined(HAVE_OGRE) && defined(HAVE_OPTIX)
static const std::vector<const char *> kRenderEngineTestValues{"ogre", "optix"};
#elif defined(HAVE_OGRE) && defined(HAVE_OGRE2)
static const std::vector<const char *> kRenderEngineTestValues{"ogre", "ogre2"};
static const std::vector<const char *> kRenderEngineTestValues{"ogre2"};
#elif defined(HAVE_OGRE2) && defined(HAVE_OPTIX)
static const std::vector<const char *> kRenderEngineTestValues{"ogre2", "optix"};
#elif defined(HAVE_OGRE)
Expand Down

0 comments on commit a712899

Please sign in to comment.