On Thu, Mar 04, 2021 at 05:37:47PM +0800, Lin Jiaxin wrote:
On Wed, Mar 03, 2021 at 05:15:56PM +0800, Lu Weitao wrote:
[Why] old logical: lkp-tests/stats/srcipt < script_log > tmpfile lkp-tests/sbin/dump-stat < tmpfile > $script.json this flow will escape special characters
[How] use return of function to keep original characters
lkp-tests/stats/srcipt.rb func(read(script_log)) --> hash compass-ci/lib/dump-stats.rb hash --> dump_stats() --> $script.json
Can you write the rules of how to write new lkp-tests/stats/$srcipt.rb here?
ok
And the meaning of .log, .message.
we'd better add a comment for information
Thanks, Weitao