Skip to content

Example runs fine, but tests fail [gcc 5.2.0] #29

@tanweihou

Description

@tanweihou

Some outputs are shown as below, full log is here http://pastie.org/10499035
I tried the pull request #13 but it did not work too
Besides that, for some reasons the python test script could not decode some JSON objects
The example naval_fate runs fine without any problem.

Python version: 2.7.10
GCC: 5.2.0

========================================
Usage: prog [options]

Options: -a  All.


::::::::::::::::::::
prog 
--------------------
{  }

 ** JSON does not match expected: {u'-a': False}
========================================
Usage: prog [options]

Options: -p PATH


::::::::::::::::::::
prog -p home/
--------------------

 ** this should have succeeded! exit code = 255
Traceback (most recent call last):
  File "run_tests", line 45, in <module>
    json_out = json.loads(out)
  File "/anaconda/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/anaconda/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/anaconda/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions