From d27d1363dd74fd76cbfdbdabc599f4d2f41922fb Mon Sep 17 00:00:00 2001 From: Bill White Date: Thu, 5 Jul 2018 15:07:37 -0700 Subject: [PATCH] Eng 13947 Make generated tests in a smarter way. (#5442) When we generate C++ unit tests, we print the test names to standard output. This can break the build if someone puts unrelated printing into the planner. These commits want to merge some changes to write the test names to a file, and then read the file in CMake in order to generate the makefiles. https://issues.voltdb.com/browse/ENG-13947 --- .gitignore | 1 + build.xml | 2 + tests/ee/CMakeLists.txt | 15 +++- .../planner/eegentests/EEPlanGenerator.java | 75 +++++++++++++++---- .../planner/eegentests/GenerateEETests.java | 7 +- tools/generate-ee-unit-tests.sh | 20 +++-- 6 files changed, 95 insertions(+), 25 deletions(-) diff --git a/.gitignore b/.gitignore index 1ba6fa3ada3..e703035bb09 100644 --- a/.gitignore +++ b/.gitignore @@ -76,6 +76,7 @@ build.gradle /lib/python/vdm/tests/geb_vdm/.nb-gradle/ tools/meshmonitor/build/ tools/meshmonitor/dist/ +tools/ee/ee_auto_generated_unit_tests # IntelliJ excluded files. .idea/workspace.xml diff --git a/build.xml b/build.xml index 2ee1d12bd89..3b76365abc4 100644 --- a/build.xml +++ b/build.xml @@ -2474,6 +2474,8 @@ UTILITIES description="Remove other generated source files."> + +