cpu_count=1 in BasicBuildTest
@@ -16,7 +16,8 @@ class BasicBuildTest(unittest.TestCase):
def build_cmake_test(self):
for cmd, lang, static, pure_c in [("install .", 0, True, True),
- ("install . -o language=1 -o static=False", 1, False, False)]:
+ ("install . -o language=1 -o static=False", 1,
+ False, False)]:
build(self, cmd, static, pure_c, use_cmake=True, lang=lang)
def build_default_test(self):
@@ -25,12 +26,13 @@ class BasicBuildTest(unittest.TestCase):
return # If is using sun-cc the gcc generator doesn't work
for cmd, lang, static, pure_c in [("install .", 0, True, True),
- ("install . -o language=1 -o static=False -g txt", 1, False, False)]:
+ ("install . -o language=1 -o static=False -g txt", 1,
+ False, False)]:
build(self, cmd, static, pure_c, use_cmake=False, lang=lang)
def build(tester, cmd, static, pure_c, use_cmake, lang):
- client = TestClient()
+ client = TestClient(cpu_count=1)
dll_export = client.default_compiler_visual_studio and not static
files = cpp_hello_conan_files("Hello0", "0.1", dll_export=dll_export,
pure_c=pure_c, use_cmake=use_cmake)
