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

Unit tests fail on when running "make test" on for cross-compile #127

Closed
kpdyer opened this issue Apr 1, 2014 · 1 comment
Closed

Unit tests fail on when running "make test" on for cross-compile #127

kpdyer opened this issue Apr 1, 2014 · 1 comment
Assignees
Milestone

Comments

@kpdyer
Copy link
Owner

@kpdyer kpdyer commented Apr 1, 2014

We get the following behavior:

$ LD_PRELOAD= make test             
Traceback (most recent call last):
  File "./bin/fteproxy", line 34, in <module>
    import fte
  File "/vagrant/sandbox/fteproxy/fte/__init__.py", line 24, in <module>
    import fte.encoder
  File "/vagrant/sandbox/fteproxy/fte/encoder.py", line 24, in <module>
    import fte.dfa
  File "/vagrant/sandbox/fteproxy/fte/dfa.py", line 24, in <module>
    import fte.cDFA
ImportError: No module named cDFA
@kpdyer kpdyer added this to the 0.2.12 milestone Apr 1, 2014
@kpdyer kpdyer self-assigned this Apr 1, 2014
kpdyer added a commit that referenced this issue Apr 1, 2014
@kpdyer
Copy link
Owner Author

@kpdyer kpdyer commented Apr 1, 2014

The issue is simple, we are, under the hood, calling the linux version of python instead of the wine version. So, use the $(PYTHON) env to determine which one we should call.

@kpdyer kpdyer closed this Apr 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.