OboeTester: add resampler test
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 354b865..a254ecc 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -7,6 +7,8 @@
# This may work on Linux.
# set(ANDROID_NDK $ENV{HOME}/Android/sdk/ndk-bundle)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wall -std=c++14")
+
# Include GoogleTest library
set(GOOGLETEST_ROOT ${ANDROID_NDK}/sources/third_party/googletest)
add_library(gtest STATIC ${GOOGLETEST_ROOT}/src/gtest_main.cc ${GOOGLETEST_ROOT}/src/gtest-all.cc)
@@ -16,15 +18,20 @@
# Include Oboe sources
set (OBOE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/..)
add_subdirectory(${OBOE_DIR} ./oboe-bin)
-include_directories(${OBOE_DIR}/include)
+include_directories(
+ ${OBOE_DIR}/include
+ ${OBOE_DIR}/src
+ )
# Build the test binary
-add_executable(testOboe
+add_executable(
+ testOboe
testUtilities.cpp
- testStreamClosedMethods.cpp
- testStreamStates.cpp
- testStreamWaitState.cpp
- testStreamOpen.cpp
- testXRunBehaviour.cpp
+ testFlowgraph.cpp
+# testStreamClosedMethods.cpp
+# testStreamStates.cpp
+# testStreamWaitState.cpp
+# testStreamOpen.cpp
+# testXRunBehaviour.cpp
)
target_link_libraries(testOboe gtest oboe)