Skip to content

[C++] Don't put implementations in test-util.h #20132

Closed

Description

@asfimport

test-util.h is included in most (all?) test files, and it's quite long to compile because it includes many other files and recompiles helper functions all the time. Instead we should have only declarations in test-util.h and put implementations in a separate .cc file.

Reporter: Antoine Pitrou / @pitrou
Assignee: Wes McKinney / @wesm

PRs and other links:

Note: This issue was originally created as ARROW-3778. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Nov 13, 2018

    @asfimport
    Author

    Wes McKinney / @wesm:
    Agreed. I had partly done this in #2704, so if you wanted to use just the arrow/util/testing.h/testing.cc changes from there go ahead

  2. asfimport commented on Nov 19, 2018

    @asfimport
    Author

    Wes McKinney / @wesm:
    I'll take care of this, since I already partially did it in my other patch

  3. asfimport commented on Nov 22, 2018

    @asfimport
    Author

    Wes McKinney / @wesm:
    Issue resolved by pull request 2997
    #2997

  4. added this to the 0.12.0 milestone on Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions