fork
Configure Feed
Select the types of activity you want to include in your feed.
Live video on the AT Protocol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1#!/bin/bash
2
3set -euo pipefail
4
5SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
6export LD_LIBRARY_PATH="$SCRIPT_DIR/build-darwin-arm64/lib/usr/local/lib/x86_64-linux-gnu"
7export DYLD_LIBRARY_PATH="$SCRIPT_DIR/build-darwin-arm64/lib/usr/local/lib"
8
9rm -rf media.test
10STREAMPLACE_TEST_COUNT=1 go test -c -timeout 60s -run '^TestConcatBin$' stream.place/streamplace/pkg/media --count=1 -v
11
12for i in {1..50}; do
13 GST_DEBUG='*:5' STREAMPLACE_TEST_COUNT=1 TEST_TAG="test_output_$i.log" ./media.test -test.paniconexit0 -test.timeout=1m0s -test.run=^TestConcatBin$ -test.count=1 -test.v=true >"test_output_$i.log" 2>&1 &
14done
15
16# Wait for all background processes to complete
17wait
18
19for i in {1..50}; do
20 if cat "test_output_$i.log" | grep "panic:" > /dev/null; then
21 echo "test_output_$i.log: panic:"
22 fi
23done