Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
fdb3f74e
Commit
fdb3f74e
authored
9 years ago
by
4ast
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #118 from iovisor/bblanco_dev
Add cmake checks for required test programs
parents
a753549f
e913eb92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
tests/cc/CMakeLists.txt
tests/cc/CMakeLists.txt
+14
-0
No files found.
tests/cc/CMakeLists.txt
View file @
fdb3f74e
# Copyright (c) PLUMgrid, Inc.
# Copyright (c) PLUMgrid, Inc.
# Licensed under the Apache License, Version 2.0 (the "License")
# Licensed under the Apache License, Version 2.0 (the "License")
find_program
(
ARPING arping
)
if
(
ARPING STREQUAL
"ARPING-NOTFOUND"
)
message
(
WARNING
"Recommended test program 'arping' not found"
)
endif
()
find_program
(
NETPERF netperf
)
if
(
NETPERF STREQUAL
"NETPERF-NOTFOUND"
)
message
(
WARNING
"Recommended test program 'netperf' not found"
)
endif
()
find_program
(
IPERF iperf
)
if
(
IPERF STREQUAL
"IPERF-NOTFOUND"
)
message
(
WARNING
"Recommended test program 'iperf' not found"
)
endif
()
add_test
(
NAME py_test_stat1_b WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
add_test
(
NAME py_test_stat1_b WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
COMMAND
${
TEST_WRAPPER
}
py_stat1_b namespace
${
CMAKE_CURRENT_SOURCE_DIR
}
/test_stat1.py test_stat1.b proto.b
)
COMMAND
${
TEST_WRAPPER
}
py_stat1_b namespace
${
CMAKE_CURRENT_SOURCE_DIR
}
/test_stat1.py test_stat1.b proto.b
)
add_test
(
NAME py_test_stat1_c WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
add_test
(
NAME py_test_stat1_c WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
...
...
This diff is collapsed.
Click to expand it.
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