[
https://issues.apache.org/jira/browse/THRIFT-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056110#comment-14056110
]
Roger Meier commented on THRIFT-2578:
-------------------------------------
committed, thanks!
could you please refactor test/results.json from
{noformat}
[
"nodejs",
"nodejs",
"json",
"framed-ip-ssl",
"success (<a
href=\"log/nodejs_nodejs_json_framed_ip-ssl_client.log\">client</a>, <a
href=\"log/nodejs_nodejs_json_framed_ip-ssl_server.log\">server</a>)"
]
{noformat}
to
{noformat}
[
"nodejs",
"nodejs",
"json",
"framed-ip-ssl",
"success",
"log",
{
"client": "log/nodejs_nodejs_json_framed_ip-ssl_client.log",
"server": "log/nodejs_nodejs_json_framed_ip-ssl_server.log"
}
]
{noformat}
and add a platform attribute to tests/tests.json,e.g.
{noformat}
"platform": [
"Linux",
"Windows",
"Darwin"
],
{noformat}
related Python code:
import platform
platform.system()
> Moving 'make cross' from test.sh to test.py
> -------------------------------------------
>
> Key: THRIFT-2578
> URL: https://issues.apache.org/jira/browse/THRIFT-2578
> Project: Thrift
> Issue Type: Sub-task
> Components: Test Suite
> Reporter: Chamila Dilshan Wijayarathna
> Assignee: Roger Meier
> Labels: gsoc2014
> Attachments:
> 0001-THRIFT-2578-Moving-make-cross-from-test.sh-to-test.p.patch,
> 0001-THRIFT-2578-Moving-make-cross-from-test.sh-to-test.p.patch,
> 0001-THRIFT-2578-Moving-make-cross-from-test.sh-to-test.p.patch,
> 0001-THRIFT-2578-Moving-make-cross-from-test.sh-to-test.p.patch,
> 0001-THRIFT-2578-Moving-make-cross-from-test.sh-to-test.p.patch,
> 0001-THRIFT-2578-Moving-make-cross-from-test.sh-to-test.p.patch
>
>
> Since test.sh has too much redundant code, we are planning to move cross
> language test suite to test.py. By moving this, other than removing
> redundancy we expect to achieve following.
> seperate file to define the tests for server and clients
> cross platform (=> become able to run it on windows)
> remove limitations of scripting language.
> [~roger.meier] has added a initial version of this. Following are yet to do.
> reporting page
> log files
> add languages
> run on windows
--
This message was sent by Atlassian JIRA
(v6.2#6252)