You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
I'd like to deprecate make test-*, make itest, make xctest, and any other test targets we have in favor of:
PLATFORM=osx make test
PLATFORM=ios make test
PLATFORM=node make test
PLATFORM=linux make test
PLATFORM=android make test
Each of these would build and run the maximal test suite for the given platform: i.e. the complete set of tests that are expected to work on that platform, including core unit tests (as we get them up and running on each platform), headless rendering tests (ditto), and all platform-specific tests that may exist.
Hopefully we can support cross-compilation and native/simulator/emulator execution for all five platforms, at least on an OS X host.
Activity
mikemorris commentedon Oct 21, 2015
+1, I've never found a way to specify individual tests (in bash) either.
tmcw commentedon Oct 26, 2015
Does anyone know how to run the core tests for mapbox-gl-native?
kkaefer commentedon Oct 26, 2015
the
*is a placeholder for Google Test case nameskkaefer commentedon Oct 26, 2015
@tmcw: run bash, then
make test-* -j8jfirebaugh commentedon Oct 26, 2015
I think this may be an incompatibility with zsh.
make test-*works in bash. @tmcw does something likemake 'test-*'work in zsh?mikemorris commentedon Oct 26, 2015
tmcw commentedon Oct 26, 2015
Yes: quoting the
*works - I made a note of this in the docs refactor https://github.com/mapbox/mapbox-gl-native/blob/redo-docs/docs/DEVELOP_LINUX.md#testjfirebaugh commentedon Apr 2, 2016
I'd like to deprecate
make test-*,make itest,make xctest, and any other test targets we have in favor of:Each of these would build and run the maximal test suite for the given platform: i.e. the complete set of tests that are expected to work on that platform, including core unit tests (as we get them up and running on each platform), headless rendering tests (ditto), and all platform-specific tests that may exist.
Hopefully we can support cross-compilation and native/simulator/emulator execution for all five platforms, at least on an OS X host.
kkaefer commentedon Apr 4, 2016
Sounds good. What's your plan for limiting test suite runs to certain kinds of tests (e.g. when developing)?
jfirebaugh commentedon Apr 4, 2016
Run in Xcode with an
--gtest_filter=...argument set in the schema, or run the appropriate command by hand from the command line.