Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #100655
| X-Received | by 10.66.138.40 with SMTP id qn8mr15238707pab.7.1450693999565; Mon, 21 Dec 2015 02:33:19 -0800 (PST) |
|---|---|
| X-Received | by 10.50.30.201 with SMTP id u9mr247865igh.4.1450693999532; Mon, 21 Dec 2015 02:33:19 -0800 (PST) |
| Path | csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!mv3no14016306igc.0!news-out.google.com!l1ni10006igd.0!nntp.google.com!mv3no18988247igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Mon, 21 Dec 2015 02:33:19 -0800 (PST) |
| In-Reply-To | <mailman.23.1450290172.30845.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=115.115.144.82; posting-account=9VCEeAkAAAC5KmhTzSN1jN8fk0K8DDDJ |
| NNTP-Posting-Host | 115.115.144.82 |
| References | <mailman.23.1450290172.30845.python-list@python.org> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <19e7d857-abc7-47df-a97b-3969a0dedb72@googlegroups.com> (permalink) |
| Subject | Re: Python 3.1 test issue |
| From | rakeshravinlr@gmail.com |
| Injection-Date | Mon, 21 Dec 2015 10:33:19 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Xref | csiph.com comp.lang.python:100655 |
Show key headers only | View raw
On Wednesday, December 16, 2015 at 11:53:14 PM UTC+5:30, George Trojan wrote:
> I installed Python 3.1 on RHEL 7.2. The command make test hangs (or
> takes a lot of time) on test_subprocess.
>
> [396/397] test_subprocess
> ^C
> Test suite interrupted by signal SIGINT.
> 5 tests omitted:
> test___all__ test_distutils test_site test_socket test_warnings
> 381 tests OK.
> 4 tests altered the execution environment:
> test___all__ test_distutils test_site test_warnings
> 11 tests skipped:
> test_devpoll test_kqueue test_msilib test_ossaudiodev
> test_startfile test_tix test_tk test_ttk_guionly test_winreg
> test_winsound test_zipfile64
> make: *** [test] Error 1
>
> CPU was at 100% all the time for process
>
> gtrojan 15758 8907 94 17:29 pts/6 00:06:47
> /home/gtrojan/Downloads/Python-3.5.1/python -R -bb -E -Wdefault
> -Werror::BytesWarning -X faulthandler -m test.regrtest --slaveargs
> [["test_socket", 0, false], {"huntrleaks": false, "match_tests": null,
> "failfast": false, "output_on_failure": false, "use_resources":
> ["curses", "network", "decimal", "cpu", "subprocess", "urlfetch"],
> "pgo": false, "timeout": null}]
> gtrojan 22889 336 0 17:36 pts/11 00:00:00 grep --color=auto 15758
>
> Is this a problem?
>
> George
can u help me to convert the folowing test case
Input:
/home/rebaca/azuki/streams/./tsudpsend /home/rebaca/azuki/streams/ebp/ebp-1250-2.ts 127.0.0.1 500011 2151832|/home/rebaca/azuki/streams/./tsudpsend /home/rebaca/azuki/streams/ebp/ebp-1251-2.ts 127.0.0.1 500012 2151832|/home/rebaca/azuki/streams/./tsudpsend /home/rebaca/azuki/streams/ebp/ebp-1250-2.ts 127.0.0.1 500013 2151832
Output:
AZ_HLS_PORT_BASED_VOD_TC6_STL_CMD='{ "TSUDPSEND":[ { "ebp_1250_2_av":"tsudpsend '+ STREAMS_PATH +'/ebp/ebp-1250-2.ts '+ DEVICE_UNDER_TEST +'5000112151832" }, { "ebp_1250_2_v": "tsudpsend '+ STREAMS_PATH+'/ebp/ebp-1250-2.ts '+ DEVICE_UNDER_TEST +' 500012 2151832" },{"ebp_1250_2_a": "tsudpsend '+ STREAMS_PATH +'/ebp/ebp-1250-2.ts '+DEVICE_UNDER_TEST +' 500013 2151832" } ] }'
how to get output in the following format when the input is given using python
# The following are commands used for pumping the streams.
"/home/rebaca/azuki/streams/./tsudpsend"==> this is the path of the tool
used for pumping streams.
# "/home/rebaca/azuki/streams/ebp/ebp-1250-2.ts" ==> Stream Path
# "127.0.0.1" & "500011" ==> Device IP & Port, respectively, to which
the stream needs to be pumped.
# "2151832" ==> Overall Bitrate of the input stream.
please help me if u can
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Python 3.1 test issue George Trojan <george.trojan@noaa.gov> - 2015-12-16 18:22 +0000 Re: Python 3.1 test issue rakeshravinlr@gmail.com - 2015-12-21 02:33 -0800
csiph-web