You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Media Transport Library (MTL) Validation Framework provides comprehensive testing capabilities for various aspects of the MTL, including protocol compliance, performance, and integration testing.
4
4
5
-
> **🚀 Quick Start**: For rapid setup, see [Validation Quick Start Guide](validation_quickstart.md)
5
+
## Documentation Navigation
6
+
7
+
🚀 **Quick Setup**: [Validation Quick Start Guide](validation_quickstart.md) - Get running in 3 steps
8
+
📁 **Local README**: [tests/validation/README.md](../tests/validation/README.md) - Quick reference and test categories
# 4. Install MTL system-wide (REQUIRED for RxTxApp)
162
+
sudo ninja install -C build
163
+
sudo ldconfig
164
+
165
+
# 5. Build required test tools (CRITICAL for validation)
166
+
cd tests/tools/RxTxApp
167
+
meson setup build
168
+
meson compile -C build
169
+
cd ../../..
136
170
```
137
171
172
+
> **⚠️ CRITICAL**:
173
+
> - The RxTxApp tool is required for validation tests but not built by the main build process
174
+
> - RxTxApp requires MTL to be installed system-wide to build successfully
175
+
> - You must build it separately after installing MTL
176
+
138
177
For complete build instructions, see [doc/build.md](build.md).
139
178
140
179
#### 2. Other Prerequisites
@@ -147,33 +186,20 @@ For complete build instructions, see [doc/build.md](build.md).
147
186
148
187
### Environment Setup
149
188
150
-
> **⚠️ IMPORTANT**: Run all commands in the `tests/validation/` directory
189
+
> **🚀 Quick Setup**: See [Validation Quick Start Guide](validation_quickstart.md) for streamlined setup steps.
190
+
191
+
For detailed setup:
151
192
152
-
1. Create and activate a Python virtual environment:
193
+
1. Create Python virtual environment in `tests/validation/`:
153
194
154
195
```bash
155
-
cd tests/validation# Must be in this directory!
196
+
cd tests/validation
156
197
python3 -m venv venv
157
198
source venv/bin/activate
158
-
```
159
-
160
-
**Note**: If you're using VS Code or other development tools that auto-configure Python environments, ensure you're using the correct Python interpreter. The tests require the packages from `tests/validation/requirements.txt`.
161
-
162
-
2. Install required dependencies:
163
-
164
-
```bash
165
-
# Main framework requirements (run in tests/validation/)
166
199
pip install -r requirements.txt
167
-
168
-
# Additional integrity test components (optional but recommended)
169
200
pip install -r common/integrity/requirements.txt
170
201
```
171
202
172
-
Verify installation:
173
-
```bash
174
-
python -m pytest --version
175
-
```
176
-
177
203
### Configuration
178
204
179
205
#### Critical Configuration Steps
@@ -265,8 +291,6 @@ sudo ./script/nicctl.sh create_vf "0000:18:00.1" # Replace with your secondary
265
291
266
292
> **⚠️ CRITICAL**: Tests must be run as **root user**, not regular user. MTL validation framework requires root privileges for network operations.### Basic Test Execution
267
293
268
-
**⚠️ CRITICAL**: All tests must be run as **root user**. Regular users will fail.
269
-
270
294
### Run specific test with parameters
271
295
272
296
**Examples of running tests with specific parameters**:
Copy file name to clipboardExpand all lines: doc/validation_quickstart.md
+38-30Lines changed: 38 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,17 @@
2
2
3
3
This quick start guide helps you get the MTL validation framework running with minimal setup. For detailed information, see the [complete validation framework documentation](validation_framework.md).
4
4
5
-
## Prerequisites (Must Complete First!)
5
+
## Prerequisites
6
6
7
-
1.**🏗️ Build MTL** (CRITICAL - tests will fail without this):
8
-
```bash
9
-
cd /path/to/Media-Transport-Library
10
-
./build.sh
11
-
```
12
-
> If this fails, see [detailed build instructions](build.md)
7
+
1.**🏗️ MTL Build Complete**: MTL must be built and test tools available
⚙️ **Configuration Help**: [Configuration Guide](configuration_guide.md) - Network and environment setup
105
+
106
+
## Summary
107
+
108
+
This quick start guide gets you running tests in minutes. For production use, detailed configuration, or troubleshooting complex issues, refer to the complete documentation above.
0 commit comments