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

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

Open
tanweihou opened this issue Oct 22, 2015 · 2 comments
Open

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

tanweihou opened this issue Oct 22, 2015 · 2 comments
Labels

Comments

@tanweihou
Copy link

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
@GamePad64
Copy link
Contributor

Can't confirm. Ubuntu 15.10, GCC 5.2, Python 2.7.10
Both tests and example run fine.

@jaredgrubb
Copy link
Member

Is this still an issue?

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

No branches or pull requests

3 participants