Debian Codegraph @

tests/xspice_audio_test.py

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 #!/usr/bin/python
2
3 from time import sleep
4 from xspice_audio_test_helper import produce_audio
5 from xspice_util import launch_xspice, launch_client
6
7 def main():
8 port = 8000
9 xspice = launch_xspice(port)
10 sleep(2)
11 client = launch_client(port)
12 sleep(1)
13 produce_audio(xspice.audio_fifo_dir)
14 sleep(2)
15 client.kill()
16 xspice.kill()
17
18 if __name__ == '__main__':
19 main()