forked from mellanox-hpc/ibverbs-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
32 lines (23 loc) · 880 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
## How to build tests
% git clone https://github.com/mellanox-hpc/ibverbs-tests
% cd ibverbs-tests
% ./autogen.sh
%./configure
% make
## How to run IB Verbs tests:
for dev in $(ibstat -l); do
hca="${dev}:1";
GTEST_SHUFFLE=1 IBV_TEST_DEV=${hca} ibv_test;
done
## How to run IB Verbs tests with valgrind
valgrind --tool=memcheck --leak-check=full --track-origins=yes ibv_test
## Directory Structure
* include/ - all global headers
* docs/ - the documentation folder
* src/ - soruce code of the tests engine
* tests/ - all tests should go there
* tests/general/ - common tests which are not related
to specific feature
* tests/cross-channel/ - cross-channel specific tests
* tests/peer-direct/ - peer-direct specific tests
* tests/FEATURE/ - new FEATURE tests should be put here