meta-qt6/recipes-qt/qt6/ptest
Ari Parkkila e13760ae97 ptests: Update test environment for non and root user
Export LANG only if it has not yet been defined for the current user.

Check that HOME directory exists and is writable before running tests.
For example "ptest" user is created without home directory by default.

Webengine tests expect --no-sandbox when running as root so export
environment variable to disable sandbox.

Task-number: QTBUG-118680
Change-Id: I7f40378f92e089bfb3279270ead0b92b309eeb47
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-05-21 09:17:44 +03:00
..
run-ptest ptests: Update test environment for non and root user 2024-05-21 09:17:44 +03:00