audio-io-test-vdemo-scopes.ini

Christian Mertes, 2015-03-26 11:39

Download (2.705 KB)

 
1
[environment]
2
# In this case, we let VDEMO handle the Environment since
3
# we need to test if it's configured correctly.
4

    
5
# Therefore we _source_ the VDEMO base _before_ starting this
6
# FSMT instance
7

    
8
RSB_TRANSPORT_SPREAD_HOST = $PC_CORE_1
9
AUDIOFILE=$prefix/share/fsmt-experiments/audio/media/freesound_aiwha_ding.flac
10
VOLUME_THRESHOLD=0.2
11

    
12
[component-1]
13
name = wardrobeintest
14
command = gst-launch-0.10 rsbaudiosrc scope=/home/wardrobe/audio/in/16bit/16000Hz/LE ! audioconvert ! audioresample ! fakesink dump=true
15
path = /usr/bin/
16
execution_host = localhost
17
check_execution = True
18
check_type = pid,stdoutexclude,stdoutexclude
19
timeout = 5,2,2
20
blocking = True,True,True
21
ongoing = False,False,False
22
criteria = ,ERROR,FAILURE
23

    
24
[component-2]
25
name = kitchenintest
26
command = gst-launch-0.10 rsbaudiosrc scope=/mobile/flobi/audio/in/16bit/16000Hz/LE ! audioconvert ! audioresample ! fakesink dump=true
27
path = /usr/bin/
28
execution_host = localhost
29
check_execution = True
30
check_type = pid,stdoutexclude,stdoutexclude
31
timeout = 5,2,2
32
blocking = True,True,True
33
ongoing = False,False,False
34
criteria = ,ERROR,FAILURE
35

    
36
[component-3]
37
name = wardrobeouttest
38
command = testaudio.sh /home/wardrobe/audio/out/marytts
39
path = $prefix/bin/
40
execution_host = localhost
41
check_execution = True
42
check_type = pid,stdoutexclude,stdoutexclude
43
timeout = 5,2,2
44
blocking = True,True,True
45
ongoing = False,False,False
46
criteria = ,ERROR,FAILURE
47

    
48
[component-4]
49
name = kitchenouttest
50
command = testaudio.sh /mobile/flobi/audio/out/marytts
51
path = $prefix/bin/
52
execution_host = localhost
53
check_execution = True
54
check_type = pid,stdoutexclude,stdoutexclude
55
timeout = 5,2,2
56
blocking = True,True,True
57
ongoing = False,False,True
58
criteria = ,ERROR,FAILURE
59

    
60
[component-5]
61
name = sleep
62
command = sleep.sh 3
63
path = $prefix/bin/
64
execution_host = localhost
65
check_execution = True
66
check_type = stdout
67
timeout = 4
68
blocking = True
69
ongoing = False
70
criteria = Slept for 3 Seconds,
71

    
72
[component-6]
73
name = wardrobeanalyzer
74
command = volume-analyzer.py $FSMLOG/wardrobeintest.log $VOLUME_THRESHOLD
75
path = $prefix/bin/
76
execution_host = localhost
77
check_execution = True
78
check_type = stdout
79
timeout = 30
80
blocking = True
81
ongoing = False
82
criteria = Volume threshold reached,
83

    
84
[component-6]
85
name = kitchenanalyzer
86
command = volume-analyzer.py $FSMLOG/kitchenintest.log $VOLUME_THRESHOLD
87
path = $prefix/bin/
88
execution_host = localhost
89
check_execution = True
90
check_type = stdout
91
timeout = 30
92
blocking = True
93
ongoing = False
94
criteria = Volume threshold reached,
95

    
96
[run]
97
name = audio-io-test-vdemo-scopes
98
run_order = [('wardrobeouttest',),('wardrobeintest',)],[('kitchenintest',),('kitchenouttest',)],
99

    
100
run_execution_duration = 10
101

    
102
result_assessment_order = [('wardrobeanalyzer','kitchenanalyzer')],
103
result_assessment_execution_duration = 0.1