mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-07 11:40:42 +00:00
Add OSCAR version number to PRS1 unit test logs.
This commit is contained in:
parent
2bfae3531f
commit
f8e4ff754b
@ -181,8 +181,12 @@ QString getBranchVersion()
|
|||||||
if (GIT_BRANCH != "master") {
|
if (GIT_BRANCH != "master") {
|
||||||
version += GIT_BRANCH+"-";
|
version += GIT_BRANCH+"-";
|
||||||
}
|
}
|
||||||
version += GIT_REVISION +" ";
|
version += GIT_REVISION;
|
||||||
version += getGraphicsEngine()+"]";
|
#ifndef UNITTEST_MODE
|
||||||
|
// There is no graphics engine on the console.
|
||||||
|
version += QString(" ") + getGraphicsEngine();
|
||||||
|
#endif
|
||||||
|
version += "]";
|
||||||
|
|
||||||
return version;
|
return version;
|
||||||
}
|
}
|
||||||
|
@ -18,6 +18,8 @@ static QString prs1OutputPath(const QString & inpath, const QString & serial, in
|
|||||||
|
|
||||||
void PRS1Tests::initTestCase(void)
|
void PRS1Tests::initTestCase(void)
|
||||||
{
|
{
|
||||||
|
initializeStrings();
|
||||||
|
qDebug() << STR_TR_OSCAR + " " + getBranchVersion();
|
||||||
QString profile_path = TESTDATA_PATH "profile/";
|
QString profile_path = TESTDATA_PATH "profile/";
|
||||||
Profiles::Create("test", &profile_path);
|
Profiles::Create("test", &profile_path);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user