Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616446 - dev-util/cdiff-0.9.8 tests fail with python2
Summary: dev-util/cdiff-0.9.8 tests fail with python2
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-04-24 09:18 UTC by Pacho Ramos
Modified: 2020-03-18 00:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2017-04-24 09:18:48 UTC
* python2_7: running distutils-r1_run_phase python_test
....................E*** unknown format, fall through to 'unified'
.......*** Not in a supported workspace, supported are: Git, Mercurial, Svn
..............
======================================================================
ERROR: test_type_detect_context (__main__.DiffParserTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/test_cdiff.py", line 475, in test_type_detect_context
    parser = cdiff.DiffParser(stream)
  File "cdiff.py", line 301, in __init__
    raise SystemExit('*** Context diff support depends on '
SystemExit: *** Context diff support depends on filterdiff

----------------------------------------------------------------------
Ran 42 tests in 0.202s

FAILED (errors=1)

header
--- old
+++ new
hunk header
@@ -1,4 +1,4 @@
1 hhello 1 helloo
         2 spammm
2 world  3 world
3 garb   
4 Again  4 again

header
--- old
+++ new
hunk header
@@ -1,4 +1,4 @@
1 hhello  1 helloo
          2 spammm
2 world   3 world
3 garb   
4 Again   4 again

header
--- old
+++ new
hunk header
@@ -1,4 +1,4 @@
1 hhel> 1 hell>
        2 spam>
2 world 3 world
3 garb   
4 Again 4 again
commit 60150708137d909003dd261bc3887e26fa15d418
Author: me <me@example.org>
Date:   Mon Apr 24 11:17:30 2017 +0200

    update

diff --git a/foo b/foo
new file mode 100644
index 0000000..b3a7cc0
--- /dev/null
+++ b/foo
@@ -0,0 +1 @@
+read_log
 * ERROR: dev-util/cdiff-0.9.8::gentoo failed (test phase):
 *   Unit tests failed.
Comment 1 Sebastian Pipping gentoo-dev 2020-03-18 00:43:46 UTC
0.9.8 is no longer in Gentoo and 1.0 has tests disabled.  Closing, please re-open as needed.