Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
folly
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
folly
Commits
3696eeae
Commit
3696eeae
authored
Oct 16, 2018
by
Eric Niebler
Committed by
Facebook Github Bot
Oct 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
split up the tests into separate executables
fbshipit-source-id: 40b0269014ac6fe1cab1362904791ae1819d8aa0
parent
eb464ae8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
14 deletions
+22
-14
folly/experimental/pushmi/.travis.yml
folly/experimental/pushmi/.travis.yml
+2
-1
folly/experimental/pushmi/test/CMakeLists.txt
folly/experimental/pushmi/test/CMakeLists.txt
+20
-13
No files found.
folly/experimental/pushmi/.travis.yml
View file @
3696eeae
...
...
@@ -19,6 +19,7 @@ script: cmake
env
:
global
:
-
DEPS_DIR=${TRAVIS_BUILD_DIR}/deps
-
CMAKE_VERSION="3.12.0"
cache
:
directories
:
...
...
@@ -155,7 +156,7 @@ before_install:
-
|
if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
if [ -z "$(ls -A ${DEPS_DIR}/cmake-${CMAKE_VERSION}/cached)" ]; then
CMAKE_URL="https://cmake.org/files/v3.
6
/cmake-${CMAKE_VERSION}-Linux-x86_64.tar.gz"
CMAKE_URL="https://cmake.org/files/v3.
12
/cmake-${CMAKE_VERSION}-Linux-x86_64.tar.gz"
mkdir -p ${DEPS_DIR}/cmake-${CMAKE_VERSION}
travis_retry wget --no-check-certificate --quiet -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C ${DEPS_DIR}/cmake-${CMAKE_VERSION}
touch ${DEPS_DIR}/cmake-${CMAKE_VERSION}/cached
...
...
folly/experimental/pushmi/test/CMakeLists.txt
View file @
3696eeae
include
(
../external/Catch2/contrib/Catch.cmake
)
add_library
(
CatchImpl catch.cpp
)
target_link_libraries
(
CatchImpl pushmi
)
add_executable
(
PushmiTest
catch.cpp
FlowTest.cpp
CompileTest.cpp
NewThreadTest.cpp
TrampolineTest.cpp
PushmiTest.cpp
)
target_link_libraries
(
PushmiTest
pushmi
Threads::Threads
)
add_executable
(
FlowTest FlowTest.cpp
)
target_link_libraries
(
FlowTest pushmi CatchImpl Threads::Threads
)
catch_discover_tests
(
FlowTest
)
include
(
../external/Catch2/contrib/Catch.cmake
)
add_executable
(
CompileTest CompileTest.cpp
)
target_link_libraries
(
CompileTest pushmi CatchImpl Threads::Threads
)
# catch_discover_tests(CompileTest)
add_executable
(
NewThreadTest NewThreadTest.cpp
)
target_link_libraries
(
NewThreadTest pushmi CatchImpl Threads::Threads
)
catch_discover_tests
(
NewThreadTest
)
add_executable
(
TrampolineTest TrampolineTest.cpp
)
target_link_libraries
(
TrampolineTest pushmi CatchImpl Threads::Threads
)
catch_discover_tests
(
TrampolineTest
)
add_executable
(
PushmiTest PushmiTest.cpp
)
target_link_libraries
(
PushmiTest pushmi CatchImpl Threads::Threads
)
catch_discover_tests
(
PushmiTest
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment