af191195423514b7cf34d13ae2fbb5f867a75d01,tests/python/pants_test/backend/python/tasks/native/test_ctypes_integration.py,CTypesIntegrationTest,test_ctypes_native_language_interop,#CTypesIntegrationTest#Any#,118

Before Change


    // TODO(/񴚰): we need to provide the libstdc++.so.6.dylib which comes with gcc on osx in the
    // DYLD_LIBRARY_PATH during the "run" goal somehow.
    attempt_pants_run = Platform.create().resolve_for_enum_variant({
      "darwin": toolchain_variant.resolve_for_enum_variant({
        "gnu": False,
        "llvm": True,
      }),
      "linux": True,
    })
    if attempt_pants_run:
      pants_run_interop = self.run_pants(["-q", "run", self._binary_target_with_interop], config={
        "native-build-step": {
          "toolchain_variant": toolchain_variant.value,
        },
        "native-build-settings": {
          "strict_deps": True,

After Change


    // TODO(/񴚰): we need to provide the libstdc++.so.6.dylib which comes with gcc on osx in the
    // DYLD_LIBRARY_PATH during the "run" goal somehow.
    attempt_pants_run = Platform.current.resolve_for_enum_variant({
      "darwin": toolchain_variant == ToolchainVariant.llvm,
      "linux": True,
    })
    if attempt_pants_run:
      pants_run_interop = self.run_pants(["-q", "run", self._binary_target_with_interop], config={
        "native-build-step": {
          "toolchain_variant": toolchain_variant.underlying(),
        },
        "native-build-settings": {
          "strict_deps": True,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: pantsbuild/pants
Commit Name: af191195423514b7cf34d13ae2fbb5f867a75d01
Time: 2019-03-01
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: tests/python/pants_test/backend/python/tasks/native/test_ctypes_integration.py
Class Name: CTypesIntegrationTest
Method Name: test_ctypes_native_language_interop


Project Name: pantsbuild/pants
Commit Name: af191195423514b7cf34d13ae2fbb5f867a75d01
Time: 2019-03-01
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: tests/python/pants_test/backend/python/tasks/native/test_ctypes_integration.py
Class Name: CTypesIntegrationTest
Method Name: test_native_compiler_option_sets_integration


Project Name: pantsbuild/pants
Commit Name: af191195423514b7cf34d13ae2fbb5f867a75d01
Time: 2019-03-01
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: tests/python/pants_test/backend/python/tasks/native/test_ctypes_integration.py
Class Name: CTypesIntegrationTest
Method Name: test_ctypes_third_party_integration


Project Name: pantsbuild/pants
Commit Name: af191195423514b7cf34d13ae2fbb5f867a75d01
Time: 2019-03-01
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: tests/python/pants_test/backend/python/tasks/native/test_ctypes_integration.py
Class Name: CTypesIntegrationTest
Method Name: test_ctypes_native_language_interop