SERVER-90498 Allow a single js suite to be run with multiple js files (#22168)
GitOrigin-RevId: b601ddb52bb21681975618429d94ba95384958fe
This commit is contained in:
committed by
MongoDB Bot
parent
c78dcac9c8
commit
774d062184
@@ -1,7 +1,7 @@
|
||||
"""The unittest.TestCase for C++ integration tests."""
|
||||
|
||||
from buildscripts.resmokelib import core
|
||||
from buildscripts.resmokelib import utils
|
||||
from typing import Optional
|
||||
from buildscripts.resmokelib import core, logging, utils
|
||||
from buildscripts.resmokelib.testing.testcases import interface
|
||||
|
||||
|
||||
@@ -10,12 +10,15 @@ class CPPIntegrationTestCase(interface.ProcessTestCase):
|
||||
|
||||
REGISTERED_NAME = "cpp_integration_test"
|
||||
|
||||
def __init__(self, logger, program_executable, program_options=None):
|
||||
def __init__(self, logger: logging.Logger, program_executables: list[str],
|
||||
program_options: Optional[dict] = None):
|
||||
"""Initialize the CPPIntegrationTestCase with the executable to run."""
|
||||
|
||||
interface.ProcessTestCase.__init__(self, logger, "C++ integration test", program_executable)
|
||||
assert len(program_executables) == 1
|
||||
interface.ProcessTestCase.__init__(self, logger, "C++ integration test",
|
||||
program_executables[0])
|
||||
|
||||
self.program_executable = program_executable
|
||||
self.program_executable = program_executables[0]
|
||||
self.program_options = utils.default_if_none(program_options, {}).copy()
|
||||
|
||||
def configure(self, fixture, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user