Repository navigation
Conversation
Author: Kouhei Sutou <kou@clear-code.com> Closes apache#2701 from kou/add-workaround-missing-gemfile and squashes the following commits: fc80d6e <Kouhei Sutou> Add workaround to verify 0.11.0
It's helpful to setup test environment. Author: Kouhei Sutou <kou@clear-code.com> Closes apache#2702 from kou/c-glib-add-missing-gemfile-to-archive and squashes the following commits: 5c97dad <Kouhei Sutou> Include Gemfile to archive
Author: Kouhei Sutou <kou@clear-code.com> Closes apache#2703 from kou/expand-variables-in-commit-message and squashes the following commits: da4f3bc <Kouhei Sutou> Expand variables in commit message
Author: Pindikura Ravindra <ravindra@dremio.com> Closes apache#2695 from pravindra/re2 and squashes the following commits: 4408b85 <Pindikura Ravindra> ARROW-3331: Add re2 to toolchain
…est files into a single executable, inline fewer test functions Change-Id: If3838fcdd9b88bec88f6b42e20432d05c339c7ff
Change-Id: I50b3384d0af57a68a8e99345fcabb722da2f629a
Change-Id: Ib54d5c247ede0980076ee0afded448be9d5602e1
| endforeach() | ||
| else() | ||
| # No executable, just invoke the test (probably a script) directly. | ||
| set(TEST_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${REL_TEST_NAME}) |
Change-Id: Ic60b5baf3e19aa81a23bf864c861fb2992331f1b
Change-Id: Idadfc233439df77d8bda4e9cef6da1a5198340a7
Change-Id: I5d0197a648ea44ac615f1d31d67c4e51fa1c4809
|
I combined a bunch of semantically-related tests. Even with all this, with Gandiva now in the build we have 68 test executables. After the Gandiva patches get caught up, I will combine the semantically-related Gandiva tests to improve build times and reduce the amount of executables created |
Change-Id: I262aa01b3b7f1269acee13f2761bdfe3add338f7
Change-Id: Ia568443184cafc95d2a6e75444504d0e4715760f
|
Argh Windows is a constant source of problems. @pitrou apparently if you combine a DLL (like arrow.dll) with a static library (like the auxiliary testing static library I created here) it will gripe about duplicated inline symbols. I think we should revert to statically linking the tests on Windows to avoid this madness |
|
I'd like to step back a bit:
The fact that we do/did static linking for tests is an anomaly, and is IMHO the real source of the slowness and disk consumption. |
|
It appears that the issue is that the symbols in the DLL have |
My understanding is that code coverage doesn't work if you don't statically link |
|
Reading https://github.com/apache/kudu/blob/master/CMakeLists.txt#L422, it seems that maybe the coverage issue goes away if you use Clang |
|
Do you mean codecov-generated code coverage results? |
|
Yeah, apparently there is an issue with code coverage data generated when compiling with |
|
I opened https://issues.apache.org/jira/browse/ARROW-3442. I still think it's a good idea to be able to split a unit test suite between multiple files, but I'll roll back my changes that combine a bunch of the existing tests |
|
I'll revisit this after #2997 is merged |
I also moved arrow/test-util.h to arrow/util/testing.h and moved some of the implementation of that file into arrow/util/testing.cc, so that many of these auxiliary test functions are only compiled once.