-
Notifications
You must be signed in to change notification settings - Fork 10
/
nightly.test
88 lines (83 loc) · 1.9 KB
/
nightly.test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
from testharness.testsuite import MakeSuiteRunner
from testharness.servers import StaticWebServer
import os.path
import time
# 'context' is predefined globally. until this is fixed, sorry :)
suiteRunner = MakeSuiteRunner(context)
# testharness honours a '#' within this string :)
tests = '''
TestStore
TestMsg
TestSupply
TestSupplyAggregator
TestAudioReservoir
TestVariableDelay
TestStreamValidator
TestSeeker
TestSkipper
TestStopper
TestTrackInspector
TestRamper
TestReporter
TestStarterTimed
TestStarvationRamper
TestMuter
TestMuterVolume
TestVolumeRamper
TestDrainer
TestPreDriver
TestContentProcessor
TestPipeline
TestPipelineConfig
TestProtocolHls
TestProtocolHttp
TestCodec -s {ws_hostname} -p {ws_port} -t full
TestCodecController
TestDecodedAudioAggregator
TestSilencer
TestIdProvider
TestFiller
TestUpnpErrors
TestTrackDatabase
TestToneGenerator
TestMuteManager
TestRewinder
TestContainer
TestUdpServer
TestConfigManager
TestPowerManager
TestWaiter
TestUriProviderRepeater
TestJson
TestThreadPool
TestPins
TestOhMetadata
TestRaop
TestSpotifyReporter
TestVolumeManager
TestWebAppFramework
#TestConfigUi
TestFlywheelRamper
TestFriendlyNameManager
TestPhaseAdjuster
TestOAuth
TestAESHelpers
'''
w = StaticWebServer(os.path.join('dependencies', 'AnyPlatform', 'TestTones'))
w.start()
try:
suiteRunner.run(tests.format(
ws_hostname = w.host(),
ws_port = w.port()
))
finally:
w.stop()
time.sleep(1)
# Suppress valgrind's checks for referencing uninitialised data
# Following tests use openssl which (deliberately!) makes heavy use of this
suiteRunner = MakeSuiteRunner(context, True)
tests = '''
TestSsl
TestCredentials
'''
suiteRunner.run(tests)