summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorThorsten Behrens <thorsten.behrens@allotropia.de>2023-04-20 01:18:06 +0200
committerThorsten Behrens <thorsten.behrens@allotropia.de>2023-04-20 13:15:07 +0200
commit68912948e376ce0b080a0d2a76dd9d951f8bcdf6 (patch)
tree086db61539f9085076043f7a76de2c9ecd2b5f13 /desktop
parent890bf59e0a3507b009284d81632a3381fbe9a70f (diff)
WASM: don't run gfx tests on startup
Change-Id: Ibc04b5c1bb3972544fa605447c635b4af84f7584 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150668 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 169330dab9f7..4e3daca9893b 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1557,12 +1557,14 @@ int Desktop::Main()
CheckOpenCLCompute(xDesktop);
#endif
+#if !defined(EMSCRIPTEN)
//Running the VCL graphics rendering tests
const char * pDisplay = std::getenv("DISPLAY");
if (!pDisplay || pDisplay[0] == ':')
{
runGraphicsRenderTests();
}
+#endif
// Post user event to startup first application component window
// We have to send this OpenClients message short before execute() to