Skip to content

MAKE-900: run tests on MacOS without compiling test binaries #60

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

Merged
merged 3 commits into from
Sep 20, 2019
Merged

MAKE-900: run tests on MacOS without compiling test binaries #60

merged 3 commits into from
Sep 20, 2019

Conversation

Kimchelly
Copy link
Collaborator

JIRA: https://jira.mongodb.org/browse/MAKE-900

Since linking does not work on go1.9 for MacOS, run tests directly instead of compiling/linking test binaries.

@Kimchelly Kimchelly changed the title Run tests on MacOS without compiling test binaries MAKE-900: run tests on MacOS without compiling test binaries Sep 16, 2019
@Kimchelly Kimchelly requested a review from tychoish September 16, 2019 15:28
makefile Outdated
$(buildDir)/output.%.test:$(buildDir)/test.% .FORCE
$(testRunEnv) ./$< $(testArgs) 2>&1 | tee $@
endif
Copy link
Contributor

Choose a reason for hiding this comment

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

let's do it the darwin way everywhere and not build the test binary.

evergreen.yaml Outdated
@@ -136,7 +136,7 @@ buildvariants:
- name: macos
display_name: macOS
expansions:
build_env: "GOROOT=/opt/golang/go1.9 PATH=/opt/golang/go1.9/bin:$PATH DISABLE_COVERAGE=yes"
build_env: "GOOS=darwin GOROOT=/opt/golang/go1.9 PATH=/opt/golang/go1.9/bin:$PATH DISABLE_COVERAGE=yes"
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need this?

@Kimchelly Kimchelly merged commit f677888 into mongodb:master Sep 20, 2019
@Kimchelly Kimchelly deleted the MAKE-900 branch September 20, 2019 20:32
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