|
Packit Service |
aa3af4 |
VMA Testing Environment
|
|
Packit Service |
aa3af4 |
=======================
|
|
Packit Service |
aa3af4 |
|
|
Packit Service |
aa3af4 |
This set of tests is based on Google Test C++ environment
|
|
Packit Service |
aa3af4 |
https://github.com/google/googletest
|
|
Packit Service |
aa3af4 |
|
|
Packit Service |
aa3af4 |
Testing VMA Extended API
|
|
Packit Service |
aa3af4 |
------------------------
|
|
Packit Service |
aa3af4 |
1. Enable VMA_EXTRA_API_ENABLED in tests/gtest/vma/vma_base.cc
|
|
Packit Service |
aa3af4 |
2. Configure libvma with --enable-socketxtreme option and build it
|
|
Packit Service |
aa3af4 |
3. Compile the gtests by issuing from VMA root directory:
|
|
Packit Service |
aa3af4 |
make -C tests/gtest
|
|
Packit Service |
aa3af4 |
4. Launch tests by issuing:
|
|
Packit Service |
aa3af4 |
LD_PRELOAD=path_to_your_libvma.so tests/gtest/gtest --addr=client_ip:server_ip
|
|
Packit Service |
aa3af4 |
|
|
Packit Service |
aa3af4 |
Testing Environment
|
|
Packit Service |
aa3af4 |
-------------------
|
|
Packit Service |
aa3af4 |
The VMA Extended API gtest environment requires that there be two interfaces
|
|
Packit Service |
aa3af4 |
connected back to back or via a switch. One is the server and the other is the
|
|
Packit Service |
aa3af4 |
client.
|
|
Packit Service |
aa3af4 |
|