Fixed instrumentation test runner OK sniffing

Summary:
Fixed regex that looks for OK sign

**Test plan (required)**

- circle CI results
Closes https://github.com/facebook/react-native/pull/7410

Differential Revision: D3265016

fb-gh-sync-id: 1eba7297116d31f8bf3393733141058cf6a7454a
fbshipit-source-id: 1eba7297116d31f8bf3393733141058cf6a7454a
This commit is contained in:
Konstantin Raev 2016-05-05 12:52:30 -07:00 committed by Facebook Github Bot 3
parent 472f815e45
commit 1958e93f3a

View File

@ -45,7 +45,7 @@ def run():
% (test_app), shell=True, stdout=sp.PIPE, stderr=sp.PIPE, stdin=sp.PIPE)
return p.communicate()
success = re.compile(r'OK \(\d+ tests\)')
success = re.compile(r'OK \(\d+ test(s)?\)')
stdout, stderr = run()
done = True