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

make test is failing with traceback #53

Open
benallard opened this issue Jan 8, 2017 · 2 comments
Open

make test is failing with traceback #53

benallard opened this issue Jan 8, 2017 · 2 comments

Comments

@benallard
Copy link

cd tests/fsm && bash run-test.sh
+ arachne_pnr=../../bin/arachne-pnr
+ rm -rf temp
+ mkdir temp
+ python generate.py
Traceback (most recent call last):
  File "generate.py", line 46, in <module>
    with file('temp/uut_%05d.v' % idx, 'w') as f:
NameError: name 'file' is not defined
make: *** [Makefile:68: test] Error 1

This is using today's tip. (52e69ed207342710080d85c7c639480e74a021d7)

@benallard
Copy link
Author

Running it on arch, where python actually is python3. That probably makes a difference.

@daveshah1
Copy link
Contributor

Fixed (finally) in #116. make test should now run on both Python2 and Python3.

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

No branches or pull requests

2 participants