Skip to content

Split test_executors.cpp even further.#2572

Merged
clalancette merged 1 commit intorollingfrom
clalancette/split-tests
Jul 2, 2024
Merged

Split test_executors.cpp even further.#2572
clalancette merged 1 commit intorollingfrom
clalancette/split-tests

Conversation

@clalancette
Copy link
Copy Markdown
Contributor

That's because it is too large for Windows Debug to compile, so split into smaller bits.

Even with this split, the file is too big; that's likely because we are using TYPED_TEST here, which generates multiple symbols per test case. To deal with this, without further breaking up the file, also add in the /bigobj flag when compiling on Windows Debug.

@Crola1702 FYI; this should fix osrf/buildfarm-tools#63 (comment)

That's because it is too large for Windows Debug to compile,
so split into smaller bits.

Even with this split, the file is too big; that's likely
because we are using TYPED_TEST here, which generates multiple
symbols per test case.  To deal with this, without further
breaking up the file, also add in the /bigobj flag when
compiling on Windows Debug.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@clalancette
Copy link
Copy Markdown
Contributor Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status
  • Windows Debug Build Status

Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

lgtm with green CI

@clalancette clalancette merged commit c743c17 into rolling Jul 2, 2024
@clalancette clalancette deleted the clalancette/split-tests branch July 2, 2024 11:55
@clalancette
Copy link
Copy Markdown
Contributor Author

@Mergifyio backport jazzy

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Sep 4, 2024

backport jazzy

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request Sep 4, 2024
That's because it is too large for Windows Debug to compile,
so split into smaller bits.

Even with this split, the file is too big; that's likely
because we are using TYPED_TEST here, which generates multiple
symbols per test case.  To deal with this, without further
breaking up the file, also add in the /bigobj flag when
compiling on Windows Debug.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit c743c17)

# Conflicts:
#	rclcpp/test/rclcpp/executors/test_executors.cpp
clalancette added a commit that referenced this pull request Sep 4, 2024
That's because it is too large for Windows Debug to compile,
so split into smaller bits.

Even with this split, the file is too big; that's likely
because we are using TYPED_TEST here, which generates multiple
symbols per test case.  To deal with this, without further
breaking up the file, also add in the /bigobj flag when
compiling on Windows Debug.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit c743c17)
clalancette added a commit that referenced this pull request Sep 6, 2024
That's because it is too large for Windows Debug to compile,
so split into smaller bits.

Even with this split, the file is too big; that's likely
because we are using TYPED_TEST here, which generates multiple
symbols per test case.  To deal with this, without further
breaking up the file, also add in the /bigobj flag when
compiling on Windows Debug.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit c743c17)

Co-authored-by: Chris Lalancette <clalancette@gmail.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.

Buildfarmer log 2024/07/01 - 2024/07/08

3 participants