Skip to content

Re-enable Mac testing on Travis#180

Closed
leouieda wants to merge 10 commits intomasterfrom
osx-testing
Closed

Re-enable Mac testing on Travis#180
leouieda wants to merge 10 commits intomasterfrom
osx-testing

Conversation

@leouieda
Copy link
Member

There seems to be a segfault problem (#164) that doesn't happen on
Linux. I'm re-enabling the Mac build to check if it happens on Travis as
well.

# ... mode = lib.get_constant('GMT_MODULE_CMD')
# ... with lib.log_to_file() as logfile:
# ... call_module = lib.get_libgmt_func('GMT_Call_Module')
# ... status = call_module(lib.current_session, 'info'.encode(),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501 line too long (80 > 79 characters)

def test_set_log_file():
"log_to_file should not crash even if not given anything"
with LibGMT() as lib:
with lib.log_to_file() as log:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

F841 local variable 'log' is assigned to but never used

@leouieda
Copy link
Member Author

Figured out the problem and fixed it in #188

@leouieda leouieda closed this Jun 16, 2018
@leouieda leouieda deleted the osx-testing branch June 16, 2018 04:39
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

Successfully merging this pull request may close these issues.

2 participants