-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Tests don't work on native Windows #542
Comments
The problem is you're running Python 3.9 and the That's why it can't import the |
@AP2008 @calroc sorry for the really slow followup. I basically took a long break from open source/mal stuff. It probably wouldn't be that hard to conditionalize the termios import and usage (in just a single place). That might not be the only Windows incompatibility though. I don't have easy access to a Windows system to do these changes (nor the motivation). However, I'm willing to review and merge changes to enable Windows support as long as they are straight forwards and clean changes that don't add complication or problems for running under Linux. |
On Wed, Apr 21, 2021 at 04:36:40PM -0700, Joel Martin wrote:
@AP2008 @calroc sorry for the really slow followup. I basically took a long break from open source/mal stuff.
No prob, these things happen. :)
You know mal is on HN front page today? https://news.ycombinator.com/item?id=26924344
It probably wouldn't be that hard to conditionalize the termios import and usage (in just a single place). That might not be the only Windows incompatibility though. I don't have easy access to a Windows system to do these changes (nor the motivation). However, I'm willing to review and merge changes to enable Windows support as long as they are straight forwards and clean changes that don't add complication or problems for running under Linux.
I'll take a whack at it soon and see if I can't get a decent PR together.
Great project BTW, I really enjoyed it even though I didn't finish an
implementation.
|
@kanaka I ran into the same issue. It is easy to circumvent by using the Windows Subsystem for Linux (WSL), at least in my use case, but on a broader level shouldn't the tests be updated to rely on Python 3 since Python 2 is no longer supported? |
I made a pull request (#640) which enable the runtest.py script to run mal implementation tests on Windows. You may refer to that PR and see if the script helps. |
Tests doesn't seem to work on native windows.
Are there any fixes on it ?
This is the output after running mingw32-make to test:
The text was updated successfully, but these errors were encountered: