<commit_before>@ECHO OFF
ECHO Running regression tests
START /Wait Dolphin7 DPRO.img7 -f RegressionTestsRun.st -q

IF %ERRORLEVEL% NEQ 0 (
  TYPE DPRO.testlog
  ECHO Tests failed=%ERRORLEVEL%
  EXIT -1
)

TYPE DPRO.testlog
ECHO Finished regression tests

<commit_msg>Use contents of .lestlog file to determine success or failure rather than relying on exit code from Dolphin. The move to VS2015 seems to have exacerbated a situation where the return code from SessionManager>>quit: may not make it back to the shell. For the the time being we'll change the way we detect success or failure of the tests.<commit_after>@ECHO OFF
ECHO Running regression tests
START /Wait Dolphin7 DPRO.img7 -f RegressionTestsRun.st -q
FINDSTR /L /C:" 0 errors" DPRO.testlog

IF %ERRORLEVEL% NEQ 0 (
  TYPE DPRO.testlog
  ECHO Tests failed
  EXIT -1
)

ECHO Finished regression tests
{'fraction_non_alphanumeric': 0.055619930475086905, 'fraction_numerical': 0.015063731170336037, 'mean_word_length': 4.236363636363636, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '47387', 'n_tokens_mistral': 289, 'n_tokens_neox': 261, 'n_words': 122}