forked from qt-creator/qt-creator
Don't invoke subcreator test in order to run a custom process. Run a separate executable instead. The advantages are: 1. Faster test running (no need for QTest specific code path when running subprocess). 2. Don't use std::exit() from subprocesses as it doesn't clean up properly. Use qApp->exit() instead. 3. This should support returning NormalExit and proper exit code of subprocess in case the code wasn't 0. Change-Id: I1395bd8a7873c95a594c3e054087f00c55a15376 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
2.3 KiB
2.3 KiB