Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3 tests fail #33

Closed
infirit opened this issue Oct 10, 2013 · 7 comments
Closed

3 tests fail #33

infirit opened this issue Oct 10, 2013 · 7 comments

Comments

@infirit
Copy link
Contributor

infirit commented Oct 10, 2013

make  check-TESTS
make[2]: Map '/home/sander/repos/mate-text-editor/tests' wordt binnengegaan
make[3]: Map '/home/sander/repos/mate-text-editor/tests' wordt binnengegaan
PASS: smart-converter
PASS: document-input-stream
../test-driver: regel 95: 25626 Traceer/breekpunt-instructie    "$@" > $log_file 2>&1
FAIL: document-output-stream
../test-driver: regel 95: 25633 Traceer/breekpunt-instructie    "$@" > $log_file 2>&1
FAIL: document-loader
../test-driver: regel 95: 25639 Traceer/breekpunt-instructie    "$@" > $log_file 2>&1
FAIL: document-saver
make[4]: Map '/home/sander/repos/mate-text-editor/tests' wordt binnengegaan
make[4]: Er hoeft niets gedaan te worden voor 'all'.
make[4]: Map '/home/sander/repos/mate-text-editor/tests' wordt verlaten
============================================================================
Testsuite summary for pluma 1.6.0
============================================================================
# TOTAL: 5
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to https://github.com/mate-desktop/mate-text-editor/issues
============================================================================
make[3]: *** [test-suite.log] Fout 1
make[3]: Map '/home/sander/repos/mate-text-editor/tests' wordt verlaten
make[2]: *** [check-TESTS] Fout 2
make[2]: Map '/home/sander/repos/mate-text-editor/tests' wordt verlaten
make[1]: *** [check-am] Fout 2
make[1]: Map '/home/sander/repos/mate-text-editor/tests' wordt verlaten
make: *** [check-recursive] Fout 1

test-suite.log

=======================================
   pluma 1.6.0: tests/test-suite.log
=======================================

# TOTAL: 5
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: document-output-stream
============================
(./document-output-stream:25626): GLib-GIO-ERROR **: Settings schema 'org.mate.pluma' is not installed
FAIL: document-loader
=====================
(./document-loader:25633): GLib-GIO-ERROR **: Settings schema 'org.mate.pluma' is not installed
FAIL: document-saver
====================
(./document-saver:25639): GLib-GIO-ERROR **: Settings schema 'org.mate.pluma' is not installed
@infirit
Copy link
Contributor Author

infirit commented Oct 10, 2013

As discovered in IRC by @stefano-k some test need the schema's installed. After schema install we are down to 1 failed test.

=======================================
   pluma 1.6.0: tests/test-suite.log
=======================================
# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: document-saver
====================
***
*** Checking for unowned directory test... NO: directory does not exist
*** Checking for unowned group test... NO: file does not exist
***
/document-saver/local: OK
/document-saver/local-new-line: OK
/document-saver/remote: 
(./document-saver:12774): GLib-GObject-WARNING **: invalid (NULL) pointer instance

@stefano-k
Copy link
Collaborator

@infirit I found the solution, you need to mount sftp://localhost/ with gfvs before tests... could you try?

@infirit
Copy link
Contributor Author

infirit commented Nov 6, 2013

I'll need to figure out how to set this up automatically..

@infirit
Copy link
Contributor Author

infirit commented Nov 9, 2013

Ok, it passes but for now I see no way to do this automatically in portage. I'll add a note to the README so it is documented.

@infirit
Copy link
Contributor Author

infirit commented Nov 9, 2013

@stefano-k I won't run any test on pluma in gentoo automatically until there is a better way of handling the schemas and sftp mount. I suspect you will need to skip them on Debian as well.

@stefano-k
Copy link
Collaborator

@infirit I talked with debian maintainers. We will handle schemas installation and sftp mount before make tests. So, I believe to close this issue we need to document the way to prepare enviornment to make tests.

@stefano-k
Copy link
Collaborator

Closing. Tests are ok if gsettings shemas are installed and localhost is mounted as sftp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants