Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 4b0aad7

Browse files
committed
Revert changes to ./src/external/run_test.sh from commit ce5562b
1 parent d8a3aca commit 4b0aad7

File tree

1 file changed

+18
-75
lines changed

1 file changed

+18
-75
lines changed

src/external/run_test.sh

Lines changed: 18 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/bash -ex
22

3-
REPO=$1
43
export LD_LIBRARY_PATH=/usr/local/lib/:/usr/local/lib64:$LD_LIBRARY_PATH
54
cd ../build/test
65

@@ -13,6 +12,24 @@ cp ../../../360SCVP/test/*265 .
1312

1413
cd -
1514

15+
# # OmafDashAccess test
16+
# ################################
17+
# cd OmafDashAccess
18+
#
19+
# ./testMediaSource --gtest_filter=*_static
20+
# ./testMediaSource --gtest_filter=*_live
21+
# ./testMediaSource --gtest_filter=*_static_withPredictor
22+
# ./testMediaSource --gtest_filter=*_live_withPredictor
23+
# ./testMediaSource --gtest_filter=*_static_changeViewport
24+
# ./testMediaSource --gtest_filter=*_live_changeViewport
25+
# ./testMPDParser
26+
# ./testOmafReader
27+
# ./testOmafReaderManager
28+
#
29+
# rm -rf ./segs_for_readertest*
30+
#
31+
# cd -
32+
1633
# VROmafPacking test
1734
################################
1835
cd VROmafPacking
@@ -23,77 +40,3 @@ cp ../../../VROmafPacking/test/*bin .
2340
./testVideoStream
2441
./testExtractorTrack
2542
./testDefaultSegmentation
26-
27-
cd -
28-
29-
destroy_worker()
30-
{
31-
STATUS=$(lsof -i:9090 | tail -n 1 | awk {'print $NF'})
32-
33-
while [ "${STATUS}" != "EMPTY" ]
34-
do
35-
if [ "${STATUS}" == "(LISTEN)" ] ; then
36-
echo "LISTEN"
37-
PID=$(lsof -i:9090 | tail -n 1 | awk {'print $2'})
38-
echo ${PID}
39-
if [ ! -z "${PID}" ] ; then
40-
kill -9 ${PID}
41-
STATUS="EMPTY"
42-
fi
43-
sleep 2s
44-
else
45-
echo "EMPTY"
46-
STATUS="EMPTY"
47-
fi
48-
done
49-
}
50-
51-
if [ "${REPO}" = "oss" ] ; then
52-
53-
# OmafDashAccess test
54-
################################
55-
cd OmafDashAccess
56-
curl -H 'X-JFrog-Art-Api: AKCp5dL3Kxmp2PhDfYhT2oFk4SDxJji5H8S38oAqmMSkiD46Ho8uCA282aJJhM9ZqCKLb64bw' -O "https://ubit-artifactory-sh.intel.com/artifactory/immersive_media-sh-local/testfile/segs_for_readertest_0909.tar.gz" && tar zxf segs_for_readertest_0909.tar.gz
57-
58-
./testMediaSource --gtest_filter=*_static
59-
./testMediaSource --gtest_filter=*_live
60-
./testMediaSource --gtest_filter=*_static_withPredictor
61-
./testMediaSource --gtest_filter=*_live_withPredictor
62-
./testMediaSource --gtest_filter=*_static_changeViewport
63-
./testMediaSource --gtest_filter=*_live_changeViewport
64-
./testMPDParser
65-
./testOmafReader
66-
./testOmafReaderManager
67-
68-
rm -rf ./segs_for_readertest*
69-
70-
cd -
71-
72-
# distributed_encoder test
73-
################################
74-
sudo yum install lsof -y
75-
76-
cd distributed_encoder
77-
cp ../../../distributed_encoder/test/*265 .
78-
cp ../../../distributed_encoder/test/*264 .
79-
cp ../../../distributed_encoder/test/*yuv .
80-
cp ../../../distributed_encoder/test/*bin .
81-
cp ../../../distributed_encoder/test/*txt .
82-
83-
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:$PKG_CONFIG_PATH
84-
export LD_LIBRARY_PATH=/usr/local/lib64:$LD_LIBRARY_PATH
85-
86-
destroy_worker
87-
./testMainEncoder
88-
destroy_worker
89-
./testWorkSession
90-
destroy_worker
91-
./testDecoder
92-
destroy_worker
93-
./testSubEncoder
94-
destroy_worker
95-
./testEncoder
96-
# ./testSubEncoderManager
97-
fi
98-
99-
cd -

0 commit comments

Comments
 (0)