Skip to content

Commit 1cb3cb2

Browse files
committed
distcheck: add test for @^
wait one sec if the reflector doesn't crash + add one more complex semi-weekly test related to this
1 parent aa75eb3 commit 1cb3cb2

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.github/scripts/run_scheduled_tests_data.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ add_test "-t spout:check_lib" Windows_only
1313
# reflector
1414
add_test -v run_reflector # basic sanity test
1515
add_test "8M 5004" run_reflector,should_timeout
16+
add_test "8M 5004 -c lavc:c=H.264 -P 8000 ::1" run_reflector,should_timeout

Makefile.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,9 @@ configure-messages:
533533
tests: $(TEST_TARGET)
534534
@export DYLD_LIBRARY_PATH=$(MY_DYLD_LIBRARY_PATH); $(TEST_TARGET)
535535

536+
.PHONY: check
536537
check: tests
538+
$(srcdir)/data/scripts/check.sh "$(TARGET)" "$(REFLECTOR_TARGET)"
537539

538540
distcheck:
539541
$(TARGET)

data/scripts/check.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/sh -eux
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
# Copyright (c) 2019-2026 CESNET, zájmové sdružení právnických osob
4+
#
5+
# here are additional run-checks of uv/reflector
6+
7+
# UV_TARGET=$1
8+
REFLECTOR_TARGET=$2
9+
10+
# test hd-rum-transcode crasn as in the commit 66f1f0e2
11+
$REFLECTOR_TARGET 8M 5004 & pid=$!
12+
sleep 1
13+
kill $pid || true
14+
wait $pid || [ $? -eq 143 ]

0 commit comments

Comments
 (0)