Fix the tests, failing on an Arm device

Increase the timeouts of the failing webview tests
Account for fractions in time taken (run result checker)
Specify a skin to improve grid calculations
Modify the duration report to have a strict test pass detection string
This commit is contained in:
Erjan Gavalji
2016-04-13 17:01:39 +03:00
parent fa13b4feaa
commit 130780482e
3 changed files with 12 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env node
var fsModule = require('fs');
var resultsFile = 'TestRunResult.txt';
var successMarker = /=== ALL TESTS COMPLETE for \d+ ms ===/;
var passMarker = /=== ALL TESTS COMPLETE for \d+ ms ===\s+[^\n]*OK,\s+0\s+failed/mg;
var successMarker = /=== ALL TESTS COMPLETE ===/;
var passMarker = /=== ALL TESTS COMPLETE ===\s+[^\n]*OK,\s+0\s+failed/mg;
var messages = {
crash: 'TEST RUN CRASHED!',