Unverified Commit 83dcb4e2 authored by bdenhollander's avatar bdenhollander Committed by GitHub
Browse files

Fix 4GB memory check (#2909)

4*(1<<30) evaluates to 0 so the check returns true on 2GB cards. Test runs fine on 2GB cards but requires over 4GB of system memory.
parent 2c36e9b3
......@@ -144,7 +144,7 @@ bool canRunHugeTest() {
// Only run the huge test if the device has at least 4 GB of memory.
return (memory >= 4*(1<<30));
return (memory >= 4*(long long)(1<<30));
}
void runPlatformTests() {
......
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