[Bug 1431637] Review Request: python-fypp - Fortran preprocessor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1431637



--- Comment #2 from Björn "besser82" Esser <besser82@xxxxxxxxxxxxxxxxx> ---
Tests are failing, but this gets silently ignored.  :/

+ test/runtests.sh /usr/bin/python3
Testing with interpreter '/usr/bin/python3'
Python detected LC_CTYPE=C: LC_CTYPE & LANG coerced to C.UTF-8 (set another
locale or PYTHONCOERCECLOCALE=0 to disable this locale coercion behavior).
............................................................................................................E.....EEEE...................................................................................................................................................................................................................................................................
======================================================================
ERROR: test_import_module_current_dir (__main__.ImportTest)
Tests whether Fypp result matches expected output.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 1952, in
import_module
    imported = __import__(module, self._scope)
ModuleNotFoundError: No module named 'inimod'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "test_fypp.py", line 2662, in test_output
    tool = fypp.Fypp(options)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 2422, in __init__
    options.moduledirs)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 2514, in
_import_modules
    evaluator.import_module(module)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 1956, in
import_module
    raise FyppFatalError(msg, cause=exc)
fypp.FyppFatalError: FyppFatalError: failed to import module 'inimod'
No module named 'inimod'
======================================================================
ERROR: test_nested_include_in_folder_of_incfile (__main__.IncludeTest)
Tests whether Fypp result matches expected output.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_fypp.py", line 2663, in test_output
    result = tool.process_text(inp)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 2487, in process_text
    return self._preprocessor.process_text(txt)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 2356, in process_text
    self._parser.parse(txt)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 280, in parse
    self._parse(txt)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 604, in _parse
    self._process_control_dir(content, span)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 667, in
_process_control_dir
    self._process_include(param, span)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 815, in
_process_include
    raise FyppFatalError(msg, self._curfile, span)
fypp.FyppFatalError: FyppFatalError: file '<string>', line 1
include file 'subfolder/include_fypp2.inc' not found
======================================================================
ERROR: test_nested_include_in_folder_of_incfile2 (__main__.IncludeTest)
Tests whether Fypp result matches expected output.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_fypp.py", line 2663, in test_output
    result = tool.process_text(inp)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 2487, in process_text
    return self._preprocessor.process_text(txt)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 2356, in process_text
    self._parser.parse(txt)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 280, in parse
    self._parse(txt)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 604, in _parse
    self._process_control_dir(content, span)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 667, in
_process_control_dir
    self._process_include(param, span)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 815, in
_process_include
    raise FyppFatalError(msg, self._curfile, span)
fypp.FyppFatalError: FyppFatalError: file '<string>', line 1
include file 'subfolder/include_fypp2.inc' not found
======================================================================
ERROR: test_nested_include_in_incpath (__main__.IncludeTest)
Tests whether Fypp result matches expected output.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_fypp.py", line 2663, in test_output
    result = tool.process_text(inp)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 2487, in process_text
    return self._preprocessor.process_text(txt)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 2356, in process_text
    self._parser.parse(txt)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 280, in parse
    self._parse(txt)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 604, in _parse
    self._process_control_dir(content, span)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 667, in
_process_control_dir
    self._process_include(param, span)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 815, in
_process_include
    raise FyppFatalError(msg, self._curfile, span)
fypp.FyppFatalError: FyppFatalError: file '<string>', line 1
include file 'subfolder/include_fypp1.inc' not found
======================================================================
ERROR: test_nested_include_in_incpath_linenum (__main__.IncludeTest)
Tests whether Fypp result matches expected output.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_fypp.py", line 2663, in test_output
    result = tool.process_text(inp)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 2487, in process_text
    return self._preprocessor.process_text(txt)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 2356, in process_text
    self._parser.parse(txt)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 280, in parse
    self._parse(txt)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 604, in _parse
    self._process_control_dir(content, span)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 667, in
_process_control_dir
    self._process_include(param, span)
  File "/builddir/build/BUILD/fypp-2.0/src/fypp.py", line 815, in
_process_include
    raise FyppFatalError(msg, self._curfile, span)
fypp.FyppFatalError: FyppFatalError: file '<string>', line 1
include file 'subfolder/include_fypp1.inc' not found
----------------------------------------------------------------------
Ran 377 tests in 0.271s
FAILED (errors=5)
Failing test runs: 1
Failing interpreter(s): /usr/bin/python3
+ :
+ exit 0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux