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
Utilities
Konsole
Commits
885896ca
Commit
885896ca
authored
Nov 20, 2020
by
Kurt Hindenburg
Browse files
Add warning for test failure
parent
ae9f407c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/autotests/TerminalInterfaceTest.cpp
View file @
885896ca
...
...
@@ -13,6 +13,7 @@
// Qt
#include <QDir>
#include <QSignalSpy>
#include <QDebug>
// KDE
#include <KService>
...
...
@@ -97,6 +98,9 @@ void TerminalInterfaceTest::testTerminalInterface()
// Start a shell in given directory
terminal
->
showShellInDir
(
QDir
::
home
().
path
());
// testing failure on FreeBSD
qWarning
()
<<
"Process Name: "
<<
terminal
->
foregroundProcessName
();
int
foregroundProcessId
=
terminal
->
foregroundProcessId
();
QCOMPARE
(
foregroundProcessId
,
-
1
);
QString
foregroundProcessName
=
terminal
->
foregroundProcessName
();
...
...
Write
Preview
Supports
Markdown
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