Commit 43bb60e1 by Antonio Maiorano

Run ReactorUnitTests.LargeStack on non-Windows targets

Now that we have a workaround for the LargeStack test to run in a normal amount of time (swiftshader-cl/50710), allow it to run again on all platforms. Bug: b/174031014 Change-Id: I034defd1ea136cd14cfd25404b717798c37a409a Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/50728 Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarAntonio Maiorano <amaiorano@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent b1dd7f7c
......@@ -1258,7 +1258,6 @@ TEST(ReactorUnitTests, Args_GreaterThan5Mixed)
// required pages. See https://docs.microsoft.com/en-us/windows/win32/devnotes/-win32-chkstk.
TEST(ReactorUnitTests, LargeStack)
{
#if defined(_WIN32)
// An empirically large enough value to access outside the guard pages
constexpr int ArrayByteSize = 24 * 1024;
constexpr int ArraySize = ArrayByteSize / sizeof(int32_t);
......@@ -1301,7 +1300,6 @@ TEST(ReactorUnitTests, LargeStack)
{
EXPECT_EQ(v[i], i);
}
#endif
}
TEST(ReactorUnitTests, Call)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment