I need some help: please run tests

Manuel Breugelmans mbr.nxi at gmail.com
Mon Jun 30 13:19:41 UTC 2008


On Monday 30 June 2008 13:37:34 Evgeniy Ivanov wrote:
> Hi folks.
> I have some troubles with my plugin, the code that was OK doesn't work
> anymore.
> Gitplugin tests have a failure that coused by the thing QProcess can't
> read some Git variable (when I run manually everything is ok, but in
> QProcess Git asks me to put my name and email to the config). I got it
> after OpenSUSE 10.2 -> 11.0. It may be a KDE4 bug, Qt4 bug, Git bug...
> Please run  tests in kdevplatform/plugins/git/tests  (you should have
> Git!) and send to the lists results about failure and your system
> (Distro, KDE, Qt, Git). If everything is ok then I need just an
> information about your system.

AFAIK git nor vcs test have ever succeeded here.

output in kdev4 -> http://fenix.cmi.ua.ac.be/~p035120/screeny.png

and with ctest

 14/ 21 Testing kdevgit-test
Test 
command: /home/nix/KdeDev/kdevplatform3/build/plugins/git/tests/kdevgit-test.shell
Test timeout computed to be: 9.99988e+06
********* Start testing of GitInitTest *********
Config: Using QTest library 4.4.0-rc1, Qt 4.4.0-rc1
PASS   : GitInitTest::initTestCase()
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::start: Working directory: "/tmp/kdevGit_testdir/"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::start: Execute git command: "git-init"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::slotReceivedStdout: received output:
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::slotReceivedStdout: "Initialized empty Git repository in .git/"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::start: Working directory: "/tmp/kdevGit_testdir/"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::start: Execute git command: "git-rev-parse --is-inside-work-tree"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::slotReceivedStdout: received output:
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::slotReceivedStdout: "true"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitProxy::isValidDirectory: Dir: "/tmp/kdevGit_testdir/"  is is inside work 
tree of git
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::start: Working directory: "/tmp/kdevGit_testdir/"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::start: Execute git command: "git add testfile"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::start: Working directory: "/tmp/kdevGit_testdir/"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::start: Execute git command: "git-rev-parse --is-inside-work-tree"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::slotReceivedStdout: received output:
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::slotReceivedStdout: "true"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitProxy::isValidDirectory: Dir: "/tmp/kdevGit_testdir/"  is is inside work 
tree of git
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::start: Working directory: "/tmp/kdevGit_testdir/"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::start: Execute git command: "git-commit testfile -m 'KDevelop'\''s 
Test commit'"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::slotReceivedStderr: received error:
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::slotReceivedStderr: "
*** Please tell me who you are.

Run

  git config --global user.email "you at example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident  <nix at driana.localdomain> not allowed"
FAIL!  : GitInitTest::testInitAndCommit() 'j->exec()' returned FALSE. ()
   Loc: [/home/nix/KdeDev/kdevplatform3/plugins/git/tests/initTest.cpp(119)]
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::                                                                                                                             
le or directory"
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::
QDEBUG : GitInitTest::testInitAndCommit() <unknown program name>(8945)/ 
GitJob::
PASS   : GitInitTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped
********* Finished testing of GitInitTest *********
-- Process completed
***Failed
Changing directory into /home/nix/KdeDev/kdevplatform3/build/veritas/tests

0% tests passed, 1 tests failed out of 1

The following tests FAILED:
         14 - kdevgit-test (Failed)
Errors while running CTest







More information about the KDevelop-devel mailing list