test(suites): run acceptance and fault flows on dummy backend
This commit is contained in:
+12
-9
@@ -21,10 +21,10 @@ The cv-mmap simulator uses POSIX shared memory naming that imposes a 24-byte max
|
||||
Use compact deterministic labels:
|
||||
```bash
|
||||
# Good (19 bytes)
|
||||
./build/cvmmap_sim --label acc_1_rtp_h264 ...
|
||||
./build/cvmmap_streamer --run-mode pipeline --input-mode dummy --dummy-label acc_1_rtp_h264 ...
|
||||
|
||||
# Bad (28 bytes, will fail)
|
||||
./build/cvmmap_sim --label acceptance_rtp_h264_test ...
|
||||
./build/cvmmap_streamer --run-mode pipeline --input-mode dummy --dummy-label acceptance_rtp_h264_test ...
|
||||
```
|
||||
|
||||
### Deterministic Simulator Sizing
|
||||
@@ -37,11 +37,14 @@ Small frame sizes can trigger GStreamer caps negotiation failures before the fir
|
||||
|
||||
**Recommended simulator parameters for validation:**
|
||||
```bash
|
||||
./build/cvmmap_sim \
|
||||
--width 640 \
|
||||
--height 360 \
|
||||
--fps 200 \
|
||||
--frames 320
|
||||
./build/cvmmap_streamer \
|
||||
--run-mode pipeline \
|
||||
--input-mode dummy \
|
||||
--dummy-label acc_1_rtp_h264 \
|
||||
--dummy-width 640 \
|
||||
--dummy-height 360 \
|
||||
--dummy-fps 200 \
|
||||
--dummy-frames 320
|
||||
```
|
||||
|
||||
### Build Path Isolation
|
||||
@@ -266,7 +269,7 @@ cat .sisyphus/evidence/task-14-acceptance/RUN_ID/1-rtp_h264/streamer.log
|
||||
Before running scripts, verify all binaries are built:
|
||||
|
||||
```bash
|
||||
for bin in cvmmap_sim cvmmap_streamer rtp_receiver_tester rtmp_stub_tester; do
|
||||
for bin in cvmmap_streamer rtp_receiver_tester rtmp_stub_tester; do
|
||||
test -x "build/$bin" || echo "Missing: $bin"
|
||||
done
|
||||
```
|
||||
@@ -275,7 +278,7 @@ done
|
||||
|
||||
```bash
|
||||
# Test simulator only
|
||||
./build/cvmmap_sim --help
|
||||
./build/cvmmap_streamer --run-mode pipeline --help
|
||||
|
||||
# Test streamer config validation only
|
||||
./build/cvmmap_streamer --codec h264 --shm-name test --zmq-endpoint ipc:///tmp/test.ipc
|
||||
|
||||
@@ -134,15 +134,17 @@ echo "Exit code: $?"
|
||||
--packet-threshold 1 \
|
||||
--timeout-ms 10000
|
||||
|
||||
# Terminal 2: Simulator + Streamer
|
||||
./build/cvmmap_sim \
|
||||
# Terminal 2: Streamer in dummy input mode
|
||||
./build/cvmmap_streamer \
|
||||
--run-mode pipeline \
|
||||
--input-mode dummy \
|
||||
--shm-name test_rtp_h264 \
|
||||
--zmq-endpoint "ipc:///tmp/test_rtp_h264.ipc" \
|
||||
--label rtp_h264 \
|
||||
--frames 320 \
|
||||
--fps 200 \
|
||||
--width 640 \
|
||||
--height 360 &
|
||||
--dummy-label rtp_h264 \
|
||||
--dummy-frames 320 \
|
||||
--dummy-fps 200 \
|
||||
--dummy-width 640 \
|
||||
--dummy-height 360 &
|
||||
|
||||
./build/cvmmap_streamer \
|
||||
--run-mode pipeline \
|
||||
|
||||
Reference in New Issue
Block a user