[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdelibs/KDE/4.8] kpty/tests: Skip hanging test on OSX, for now.
From:       Till Adam <till () kdab ! com>
Date:       2012-02-11 16:54:22
Message-ID: 20120211165422.021BAA60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 918aabd781e2e3d74d62b1d53baf6d3c49c000e5 by Till Adam.
Committed on 11/02/2012 at 17:53.
Pushed by tilladam into branch 'KDE/4.8'.

Skip hanging test on OSX, for now.

M  +4    -0    kpty/tests/kptyprocesstest.cpp

http://commits.kde.org/kdelibs/918aabd781e2e3d74d62b1d53baf6d3c49c000e5

diff --git a/kpty/tests/kptyprocesstest.cpp b/kpty/tests/kptyprocesstest.cpp
index e5aea68..660fc3a 100644
--- a/kpty/tests/kptyprocesstest.cpp
+++ b/kpty/tests/kptyprocesstest.cpp
@@ -183,12 +183,16 @@ void KPtyProcessTest::test_pty_signals()
 
 void KPtyProcessTest::test_ctty()
 {
+#ifdef Q_OS_MAC
+    QSKIP("This test currently hangs on OSX", SkipSingle);
+#else
     KPtyProcess p;
     p.setShellCommand("echo this is a test > /dev/tty");
     p.execute(1000);
     p.pty()->waitForReadyRead(1000);
     QString output = p.pty()->readAll();
     QCOMPARE(output, QLatin1String("this is a test\r\n"));
+#endif
 }
 
 QTEST_KDEMAIN_CORE( KPtyProcessTest )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic