You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/05/04 08:16:37 UTC
[echarts] branch enhance-visual-regression-test updated:
test(visual): clean empty runs
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch enhance-visual-regression-test
in repository https://gitbox.apache.org/repos/asf/echarts.git
The following commit(s) were added to refs/heads/enhance-visual-regression-test by this push:
new 808b814 test(visual): clean empty runs
808b814 is described below
commit 808b81495bbe628f175a646a64fa9a0b8cdf7187
Author: pissang <bm...@gmail.com>
AuthorDate: Tue May 4 16:15:56 2021 +0800
test(visual): clean empty runs
---
test/runTest/store.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/test/runTest/store.js b/test/runTest/store.js
index cf14f4c..460457a 100644
--- a/test/runTest/store.js
+++ b/test/runTest/store.js
@@ -288,6 +288,12 @@ module.exports.getAllTestsRuns = async function () {
}
});
+ if (finishedCount === 0) {
+ // Cleanup empty runs
+ await module.exports.delTestsRun(dir);
+ continue;
+ }
+
params.lastRunTime = lastRunTime > 0 ? formatDate(lastRunTime) : 'N/A';
params.total = total;
params.passed = passedCount;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org