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

MacOS test broken #15

Closed
dzerbino opened this issue Dec 8, 2016 · 6 comments
Closed

MacOS test broken #15

dzerbino opened this issue Dec 8, 2016 · 6 comments

Comments

@dzerbino
Copy link
Contributor

dzerbino commented Dec 8, 2016

Hello,

it seems that differences in Mac break tests that otherwise work fine in Linux, I'm guessing due to the use of explicit MD5 checksums:

disorientation:libBigWig dzerbino$ make test
./test/test.py
Traceback (most recent call last):
File "./test/test.py", line 14, in
assert(md5sum == "a15cbf0021f3e80d9ddfd9dbe78057cf")
AssertionError
make: *** [test] Error 1

Cheers,

Daniel

@dzerbino
Copy link
Contributor Author

dzerbino commented Dec 8, 2016

Update: these are text files. They are identical between Linux and MacOS, except the EOL characters.

@dpryan79
Copy link
Owner

dpryan79 commented Dec 8, 2016

Oops, I meant to fix this, thanks for the reminder!

@dpryan79
Copy link
Owner

dpryan79 commented Dec 8, 2016

Actually, this works on both Travis and the Mac sitting beside me. Perhaps there's some sort of locale setting or version difference?

@dzerbino
Copy link
Contributor Author

dzerbino commented Dec 8, 2016

Possibly:

disorientation:~ dzerbino$ locale:
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=

@dzerbino
Copy link
Contributor Author

OK I found the culprint: I have python 3 installed on my laptop.

Pull request coming up.

@dpryan79
Copy link
Owner

Well that's wild, thanks for the PR!

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