tests: restore "sky gets an optimized lightmap" test

now that it's fixed
This commit is contained in:
Eric Wasylishen 2023-06-19 07:22:39 -06:00
parent 15f0f97fb3
commit 010fbe5a3b
1 changed files with 1 additions and 2 deletions

View File

@ -93,7 +93,7 @@ testresults_t QbspVisLight_Q2(
return QbspVisLight_Common(name, {"-q2bsp"}, extra_light_args, run_vis); return QbspVisLight_Common(name, {"-q2bsp"}, extra_light_args, run_vis);
} }
TEST_CASE("-world_units_per_luxel, -lightgrid" * doctest::may_fail()) TEST_CASE("-world_units_per_luxel, -lightgrid")
{ {
auto [bsp, bspx] = QbspVisLight_Q2("q2_lightmap_custom_scale.map", {"-lightgrid"}); auto [bsp, bspx] = QbspVisLight_Q2("q2_lightmap_custom_scale.map", {"-lightgrid"});
@ -123,7 +123,6 @@ TEST_CASE("-world_units_per_luxel, -lightgrid" * doctest::may_fail())
{ {
INFO("sky gets an optimized lightmap"); INFO("sky gets an optimized lightmap");
// FIXME: this currently fails, see Face_IsLightmapped
auto *sky_face = BSP_FindFaceAtPoint(&bsp, &bsp.dmodels[0], {256, 240, 84}, {0, -1, 0}); auto *sky_face = BSP_FindFaceAtPoint(&bsp, &bsp.dmodels[0], {256, 240, 84}, {0, -1, 0});
CHECK(sky_face->styles[0] == 255); CHECK(sky_face->styles[0] == 255);