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

Fix endtoend tests on Cygwin #31

Merged
merged 1 commit into from
Jan 11, 2019

Conversation

mohamed
Copy link
Contributor

@mohamed mohamed commented Dec 14, 2018

CMake no longer defines WIN32 on Cygwin. This means that endtoend tests are failing now on Cygwin.
To fix that, we have two options:

  1. Check if __CYGWIN__ is defined
  2. Use __unix__ instead of __linux__. The Unix macro seems to be defined on Cygwin

@mohamed mohamed changed the title Bugfix/endtoend cygwin Fix endtoend tests on Cygwin Dec 14, 2018
@codecov-io
Copy link

codecov-io commented Dec 15, 2018

Codecov Report

❗ No coverage uploaded for pull request base (develop@23bb883). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop      #31   +/-   ##
==========================================
  Coverage           ?   92.43%           
==========================================
  Files              ?       46           
  Lines              ?     2248           
  Branches           ?        0           
==========================================
  Hits               ?     2078           
  Misses             ?      170           
  Partials           ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23bb883...776d89a. Read the comment docs.

CMake no longer defines WIN32 on Cygwin. This means that endtoend tests are failing now on Cygwin.
To fix that, we have two options:
1) Check if "__CYGWIN__" is defined
2) Use "__unix__" instead of "__linux__". The Unix macro seems to be defined on Cygwin
@salasoom
Copy link
Member

I agree with using __unix__ instead of __linux__

@salasoom salasoom merged commit abce2a5 into LLNL:develop Jan 11, 2019
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.

None yet

3 participants