Skip to content

CMake: carry over some nuances from autotools test config #284

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 1 commit into from
Jul 28, 2017

Conversation

dgrove-oss
Copy link
Contributor

Port over test-specific compilation flags and support for
lenient deadlines for running in the Swift CI from Makefile.am


# test-specific compiler flags (for currently disabled tests)
#add_unit_test(dispatch_priority2 SOURCES dispatch_priority.c)
#target_compile_options(dispatch_priority2, PRIVATE -DUSE_SET_TARGET_QUEUE=1)
Copy link
Member

Choose a reason for hiding this comment

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

Drop the ,. Why is this test disabled? We do have the DISABLED_TEST keyword, so we can add the test but not have it be built/run.

add_unit_test(dispatch_priority2
              DISABLED_TEST
              SOURCES
                dispatch_priority.c)

I think that we should add a dummy target so we can actually add the additional flags.

Port more capabilities from Makefile.am:
  1. test-specific compilation flags
  2. support for lenient deadlines when running in the Swift CI
  3. extended test suite (tests we disable because they occasionally fail)
  4. list of not ported tests (Darwin-only functionality)
@dgrove-oss dgrove-oss force-pushed the cmake-test-parity-with-autoconf branch from 0010d9a to 0ee4a14 Compare July 27, 2017 14:26
@dgrove-oss
Copy link
Contributor Author

updated and expanded (noticed some additional useful bits that hadn't been ported over).

@das
Copy link
Contributor

das commented Jul 28, 2017

lgtm, thanks!

@das das merged commit ce1ce45 into swiftlang:master Jul 28, 2017
@dgrove-oss dgrove-oss deleted the cmake-test-parity-with-autoconf branch July 28, 2017 18:53
ktopley-apple pushed a commit that referenced this pull request Dec 6, 2018
CMake: carry over some nuances from autotools test config

Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
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.

4 participants