Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
ftl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Maintenance on Friday 28.3. at 13:00. ETA 60 - 90 minutes.
Show more breadcrumbs
Nicolas Pope
ftl
Commits
2fb0b659
Commit
2fb0b659
authored
5 years ago
by
Nicolas Pope
Browse files
Options
Downloads
Plain Diff
Merge from master
parents
a76ff5c3
8d3da202
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-0
1 addition, 0 deletions
CMakeLists.txt
common/cpp/include/ftl/config.h.in
+1
-0
1 addition, 0 deletions
common/cpp/include/ftl/config.h.in
net/cpp/test/net_integration.cpp
+3
-2
3 additions, 2 deletions
net/cpp/test/net_integration.cpp
with
5 additions
and
2 deletions
CMakeLists.txt
+
1
−
0
View file @
2fb0b659
...
...
@@ -25,6 +25,7 @@ find_package( PCL )
#find_package( ZLIB REQUIRED )
set
(
CMAKE_CXX_STANDARD 17
)
# For PCL/VTK https://github.com/PointCloudLibrary/pcl/issues/2686
set
(
HAVE_OPENCV TRUE
)
# Readline library is not required on Windows
# May also entirely remove dependence on this... it should be optional at least.
...
...
This diff is collapsed.
Click to expand it.
common/cpp/include/ftl/config.h.in
+
1
−
0
View file @
2fb0b659
...
...
@@ -5,6 +5,7 @@
#cmakedefine HAVE_OPENCVCUDA
#cmakedefine HAVE_URIPARSESINGLE
#cmakedefine HAVE_CUDA
#cmakedefine HAVE_OPENCV
extern const char *FTL_VERSION_LONG;
extern const char *FTL_VERSION;
...
...
This diff is collapsed.
Click to expand it.
net/cpp/test/net_integration.cpp
+
3
−
2
View file @
2fb0b659
...
...
@@ -17,11 +17,12 @@ TEST_CASE("Universe::connect()", "[net]") {
Universe
b
;
a
.
listen
(
"tcp://localhost:7077"
);
sleep_for
(
milliseconds
(
100
));
SECTION
(
"valid tcp connection using ipv4"
)
{
REQUIRE
(
b
.
connect
(
"tcp://127.0.0.1:7077"
)
);
sleep_for
(
milliseconds
(
1
00
));
sleep_for
(
milliseconds
(
2
00
));
REQUIRE
(
a
.
numberOfPeers
()
==
1
);
REQUIRE
(
b
.
numberOfPeers
()
==
1
);
...
...
@@ -30,7 +31,7 @@ TEST_CASE("Universe::connect()", "[net]") {
SECTION
(
"valid tcp connection using hostname"
)
{
REQUIRE
(
b
.
connect
(
"tcp://localhost:7077"
)
);
sleep_for
(
milliseconds
(
1
00
));
sleep_for
(
milliseconds
(
2
00
));
REQUIRE
(
a
.
numberOfPeers
()
==
1
);
REQUIRE
(
b
.
numberOfPeers
()
==
1
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment