91f0e27b4d7e94e0e5cafe1c2a6fb37c80ab8b41,contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_compile_integration.py,GoCompileIntegrationTest,test_go_compile_simple,#GoCompileIntegrationTest#,20
Before Change
self.assert_success(pants_run)
// TODO(jsirois): Kill this check and the GoTool utility by using Go subsystem
if GoTool.go_installed():
goos = subprocess.check_output(["go", "env", "GOOS"] ).strip()
goarch = subprocess.check_output(["go", "env", "GOARCH"]).strip()
expected_files = set("contrib.go.examples.src.go.{libname}.{libname}/"
"pkg/{goos}_{goarch}/contrib/go/examples/src/go/{libname}.a"
After Change
"contrib/go/examples/src/go/libA"]
pants_run = self.run_pants_with_workdir(args, workdir)
self.assert_success(pants_run)
with subsystem_instance(GoDistribution.Factory) as factory:
go_dist = factory.create()
goos = go_dist.create_go_cmd("env", args=["GOOS"]).check_output().strip()
goarch = go_dist.create_go_cmd("env", args=["GOARCH"]).check_output().strip()
expected_files = set("contrib.go.examples.src.go.{libname}.{libname}/"
"pkg/{goos}_{goarch}/{libname}.a"
.format(libname=libname, goos=goos, goarch=goarch)
for libname in ("libA", "libB", "libC", "libD", "libE"))
self.assert_contains_exact_files(os.path.join(workdir, "compile", "go"),
expected_files)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: pantsbuild/pants
Commit Name: 91f0e27b4d7e94e0e5cafe1c2a6fb37c80ab8b41
Time: 2015-08-19
Author: john.sirois@gmail.com
File Name: contrib/go/tests/python/pants_test/contrib/go/tasks/test_go_compile_integration.py
Class Name: GoCompileIntegrationTest
Method Name: test_go_compile_simple
Project Name: pantsbuild/pants
Commit Name: ad9f8480c8e08b95d6c217ec4a126bd93b7f376a
Time: 2015-08-31
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/backend/project_info/tasks/test_export.py
Class Name: ProjectInfoTest
Method Name: setUp
Project Name: pantsbuild/pants
Commit Name: 183b0b0853fc79810e76f5144686bb6fdb317dda
Time: 2015-08-30
Author: john.sirois@gmail.com
File Name: tests/python/pants_test/base/test_target.py
Class Name: TargetTest
Method Name: test_illegal_kwargs