Hi Chamila generating this as an additional result out of test.sh is good first step.
attached is a template for the second step: git apply test_status.diff it uses jquery datatables, a simple and useful table control we can add filter functions to the table, etc. you can generate status.html or generate status.json and load the table within status.html from status.json (e.g. use https://datatables.net/manual/data#Objects as initialization method) thanks roger Quoting Chamila Wijayarathna <[email protected]>:
Hi Roger, As we discussed earlier I have changed test.sh to write results of cross language test run to a status.md file. I have attached a sample status.mdgenerated. I observed that in commit "THRIFT-847 Test Framework harmonization across all languages (commit 4edac7ff085e4bd28096fef3cf8234e4991544ff)" you have wrote results of failed test to an error.log file. Are we planning to keep both status.md and error.log or only one from them? What do you think about the format of status.md? I am only writing success/failure, no any description in failure. Is there any thing else needed to be added or is this enough for now? Thank You! -- *Chamila Dilshan Wijayarathna,* SMIEEE, SMIESL, Undergraduate, Department of Computer Science and Engineering, University of Moratuwa.
diff --git a/test/status.html b/test/status.html index e69de29..463b1c0 100755 --- a/test/status.html +++ b/test/status.html @@ -0,0 +1,62 @@ +<!DOCTYPE HTML> +<html> +<head> +<title>Apache Thrift - integration test suite</title> +<link rel="stylesheet" type="text/css" href="http://cdn.datatables.net/1.10.0/css/jquery.dataTables.css"> +<script type="text/javascript" charset="utf8" src="http://code.jquery.com/jquery-1.10.2.min.js"></script> +<script type="text/javascript" charset="utf8" src="http://cdn.datatables.net/1.10.0/js/jquery.dataTables.js"></script> +<script> +$(document).ready( function () { + $('#test_results').DataTable(); +} ); +</script> +</head> + +<body> +<h1>Apache Thrift - integration test suite</h1> +<h2>Meta Data</h1> +<pre> +Test Date: date --iso-8601=minutes +2014-05-14T23:58+0200 +Revision: git rev-parse --short HEAD +303eb1b +OS:uname -a +Linux chaos 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux +</pre> +<h2>Results</h1> +<table id="test_results" class="display"> + <thead> + <tr> + <th>Server</th> + <th>Client</th> + <th>Protocol</th> + <th>Transport</th> + <th>Result</th> + </tr> + </thead> + <tbody> + <tr> + <td>java</td> + <td>java</td> + <td>binary</td> + <td>buffered-ip</td> + <td>success</td> + </tr> + <tr> + <td>java</td> + <td>java</td> + <td>binary</td> + <td>buffered-ip-ssl</td> + <td>success</td> + </tr> + <tr> + <td>java</td> + <td>java</td> + <td>binary</td> + <td>framed-ip</td> + <td>success</td> + </tr> + </tbody> +</table> +</body> +</html> \ No newline at end of file
