Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
libkcddb
Commits
9f26c9fb
Commit
9f26c9fb
authored
Jan 07, 2021
by
Albert Astals Cid
Browse files
Set language to C (English)
Otherwise the "(disc 2)" part of the test may fail
parent
b68ff2e2
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/musicbrainztest-severaldiscs.cpp
View file @
9f26c9fb
...
...
@@ -11,6 +11,12 @@
#include "config-musicbrainz.h"
#include <QTest>
static
void
setEnvironment
()
{
qputenv
(
"LANG"
,
"C.UTF-8"
);
qputenv
(
"LANGUAGE"
,
"C.UTF-8"
);
}
void
MusicBrainzTestSeveralDiscs
::
testLookup
()
{
using
namespace
KCDDB
;
...
...
@@ -121,4 +127,6 @@ void MusicBrainzTestSeveralDiscs::testLookup()
}
}
Q_COREAPP_STARTUP_FUNCTION
(
setEnvironment
)
QTEST_GUILESS_MAIN
(
MusicBrainzTestSeveralDiscs
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment