summaryrefslogtreecommitdiff
path: root/compiler/cpp/test
diff options
context:
space:
mode:
authorMario Emmenlauer <memmenlauer@biodataanalysis.de>2020-04-24 16:34:02 +0200
committerGitHub <noreply@github.com>2020-04-24 15:34:02 +0100
commit5ef8e3ec2ab39ea37f8437ae1b7ca1966287a934 (patch)
tree26a38812cc6bd92140167fba993403733e02bdbd /compiler/cpp/test
parent25f81d11c2adb60ce50425879962a3f68efc4afa (diff)
downloadthrift-5ef8e3ec2ab39ea37f8437ae1b7ca1966287a934.tar.gz
Remove boost from compiler test, delete unused bincat.sh
Diffstat (limited to 'compiler/cpp/test')
-rw-r--r--compiler/cpp/test/CMakeLists.txt7
-rw-r--r--compiler/cpp/test/Makefile.am3
-rwxr-xr-xcompiler/cpp/test/bincat.sh3
3 files changed, 1 insertions, 12 deletions
diff --git a/compiler/cpp/test/CMakeLists.txt b/compiler/cpp/test/CMakeLists.txt
index 2bc7e9e69..4ce1e49ea 100644
--- a/compiler/cpp/test/CMakeLists.txt
+++ b/compiler/cpp/test/CMakeLists.txt
@@ -17,12 +17,6 @@
# under the License.
#
-# Unit tests for the compiler still require boost
-include(BoostMacros)
-REQUIRE_BOOST_HEADERS()
-set(BOOST_COMPONENTS unit_test_framework)
-REQUIRE_BOOST_LIBRARIES(BOOST_COMPONENTS)
-
file(GLOB KEYWORD_SAMPLES "${CMAKE_CURRENT_SOURCE_DIR}/keyword-samples/*.thrift")
foreach(LANG ${thrift_compiler_LANGS})
foreach(SAMPLE ${KEYWORD_SAMPLES})
@@ -34,7 +28,6 @@ foreach(LANG ${thrift_compiler_LANGS})
endforeach()
endforeach()
-
find_package(PythonInterp QUIET)
if(PYTHONINTERP_FOUND)
add_test(NAME StalenessCheckTest COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/compiler/staleness_check.py ${THRIFT_COMPILER})
diff --git a/compiler/cpp/test/Makefile.am b/compiler/cpp/test/Makefile.am
index 801f9d85e..10efd0737 100644
--- a/compiler/cpp/test/Makefile.am
+++ b/compiler/cpp/test/Makefile.am
@@ -23,6 +23,5 @@
AUTOMAKE_OPTIONS = subdir-objects serial-tests nostdinc
-AM_CPPFLAGS = $(BOOST_CPPFLAGS) -I$(top_srcdir)/compiler/cpp/src
-AM_LDFLAGS = $(BOOST_LDFLAGS)
+AM_CPPFLAGS = -I$(top_srcdir)/compiler/cpp/src
AM_CXXFLAGS = -Wall -Wextra -pedantic
diff --git a/compiler/cpp/test/bincat.sh b/compiler/cpp/test/bincat.sh
deleted file mode 100755
index c7f90785e..000000000
--- a/compiler/cpp/test/bincat.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-exec /bin/cat