Skip to content

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Nov 8, 2019

Add pytest to our Travis CI jobs to run 27 Python tests.

Checklist
  • npm install && npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change

@cclauss
Copy link
Contributor Author

cclauss commented Nov 9, 2019

@joaocgreis Can you please take a look at the failing Windows tests? A fix did not jump out at me.

'GenerateManifest': 'true',
'IgnoreImportLibrary': 'true',
'LinkIncremental': 'false'}}
self.maxDiff = 9999 # on failure display a long diff
Copy link
Member

Choose a reason for hiding this comment

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

self.maxDiff = None if you don't really want an upper limit?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Understood. These are reasonable limits for these test results.

@richardlau
Copy link
Member

@joaocgreis Can you please take a look at the failing Windows tests? A fix did not jump out at me.

I think part of the issue is that Travis has Visual Studio 2017 on Windows and the version of gyp in this repository doesn't detect that because we have the VS detection in JavaScript (see #1952 (comment)) outside of gyp.

@joaocgreis
Copy link
Member

joaocgreis commented Nov 13, 2019

@cclauss pushed a fix for the issues on Windows.

There is still a failure with Python 3.5 that looks like a real issue.

@joaocgreis
Copy link
Member

Travis had failed on my repo earlier, but passed on a new run. Possibly some caching issue or something that got fixed. I guess this is good then!

rvagg pushed a commit that referenced this pull request Nov 18, 2019
PR-URL: #1961
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: João Reis <[email protected]>
@rvagg
Copy link
Member

rvagg commented Nov 18, 2019

04da736

@rvagg rvagg closed this Nov 18, 2019
rvagg pushed a commit that referenced this pull request Nov 18, 2019
PR-URL: #1961
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: João Reis <[email protected]>
@cclauss cclauss deleted the Python-tests branch November 18, 2019 04:20
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.

5 participants