Commit a4771836 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

messagecomposer autotests: set LANG=C in test env to also target gpg-agent

GIT_SILENT
parent 959be95b
Pipeline #79873 passed with stage
in 25 minutes and 52 seconds
......@@ -50,7 +50,10 @@ macro( add_messagecomposer_cryptotest _source )
KF5::Contacts
)
add_gpg_crypto_test(${_name} messagecomposer-${_name})
set_tests_properties(messagecomposer-${_name} PROPERTIES RUN_SERIAL TRUE) # can't be parallelized due to gpg-agent
set_tests_properties(messagecomposer-${_name} PROPERTIES
RUN_SERIAL TRUE # can't be parallelized due to gpg-agent
ENVIRONMENT "LANG=C"
)
endmacro()
......
......@@ -25,7 +25,6 @@ using namespace MessageComposer;
void Test::setupEnv()
{
qputenv("LC_ALL", "C");
qputenv("KDEHOME", QFile::encodeName(QDir::homePath() + QLatin1String("/.qttest")).constData());
QStandardPaths::setTestModeEnabled(true);
}
......
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