This repository was archived by the owner on Jul 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +51
-1
lines changed Expand file tree Collapse file tree 1 file changed +51
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash -ex
2
2
3
- export LD_LIBRARY_PATH=/usr/local/lib/:/usr/local/lib64:$LD_LIBRARY_PATH
4
3
cd ../build/test
5
4
6
5
# 360SCVP test
@@ -41,3 +40,54 @@ cp ../../../VROmafPacking/test/*bin .
41
40
./testVideoStream
42
41
./testExtractorTrack
43
42
./testDefaultSegmentation
43
+
44
+ cd -
45
+
46
+ # distributed_encoder test
47
+ # ###############################
48
+
49
+ destroy_worker ()
50
+ {
51
+ STATUS=$( lsof -i:9090 | tail -n 1 | awk {' print $NF' })
52
+
53
+ while [ " ${STATUS} " != " EMPTY" ]
54
+ do
55
+ if [ " ${STATUS} " == " (LISTEN)" ] ; then
56
+ echo " LISTEN"
57
+ PID=$( lsof -i:9090 | tail -n 1 | awk {' print $2' })
58
+ echo ${PID}
59
+ if [ ! -z " ${PID} " ] ; then
60
+ kill -9 ${PID}
61
+ STATUS=" EMPTY"
62
+ fi
63
+ sleep 2s
64
+ else
65
+ echo " EMPTY"
66
+ STATUS=" EMPTY"
67
+ fi
68
+ done
69
+ }
70
+
71
+ cd distributed_encoder
72
+ cp ../../../distributed_encoder/test/* 265 .
73
+ cp ../../../distributed_encoder/test/* 264 .
74
+ cp ../../../distributed_encoder/test/* yuv .
75
+ cp ../../../distributed_encoder/test/* bin .
76
+ cp ../../../distributed_encoder/test/* txt .
77
+
78
+ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:$PKG_CONFIG_PATH
79
+ export LD_LIBRARY_PATH=/usr/local/lib64:$LD_LIBRARY_PATH
80
+
81
+ destroy_worker
82
+ ./testMainEncoder
83
+ destroy_worker
84
+ ./testWorkSession
85
+ destroy_worker
86
+ ./testDecoder
87
+ destroy_worker
88
+ ./testSubEncoder
89
+ destroy_worker
90
+ ./testEncoder
91
+ # ./testSubEncoderManager
92
+
93
+ cd -
You can’t perform that action at this time.
0 commit comments