cros_build_lib.run: clean up error_code_ok->check migration

BUG=chromium:1006587
TEST=`./run_tests` passes

Change-Id: Ie416c5f7b16314a34a3a53f503469b3cc93fb9e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/1965957
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Chris McDonald <cjmcdonald@chromium.org>
diff --git a/api/controller/test.py b/api/controller/test.py
index 04675ba..43d5399 100644
--- a/api/controller/test.py
+++ b/api/controller/test.py
@@ -128,7 +128,7 @@
 def ChromiteUnitTest(_input_proto, _output_proto, _config):
   """Run the chromite unit tests."""
   cmd = [os.path.join(constants.CHROMITE_DIR, 'scripts', 'run_tests')]
-  result = cros_build_lib.run(cmd, error_code_ok=True)
+  result = cros_build_lib.run(cmd, check=False)
   if result.returncode == 0:
     return controller.RETURN_CODE_SUCCESS
   else:
@@ -235,6 +235,6 @@
   """Run the cros-signing unit tests."""
   test_runner = os.path.join(constants.SOURCE_ROOT, 'cros-signing', 'signer',
                              'run_tests.py')
-  result = cros_build_lib.run([test_runner], error_code_ok=True)
+  result = cros_build_lib.run([test_runner], check=False)
 
   return result.returncode