Skip to content

Commit

Permalink
Merge pull request spotify#19 from mandrean/cleanup-integration-tests
Browse files Browse the repository at this point in the history
Clean up after integration tests
  • Loading branch information
dflemstr authored Dec 6, 2019
2 parents bf03cfa + 4103763 commit 4e22760
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions integration-test
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def main():
])
f.write(WORKSPACE_TEMPLATE_SUFFIX)

print(d)
third_party_dir = path.join(d, '3rdparty')
os.mkdir(third_party_dir)
shutil.copyfile(path.join('3rdparty', 'BUILD'), path.join(third_party_dir, 'BUILD'))
Expand All @@ -103,7 +102,7 @@ def main():
subprocess.check_call(['bazel', 'run', '@spotify_bazel_tools//format', '--', '-w', d], cwd=d)
finally:
subprocess.check_call(['bazel', 'shutdown'], cwd=d)
#shutil.rmtree(d)
shutil.rmtree(d)


if __name__ == '__main__':
Expand Down

0 comments on commit 4e22760

Please sign in to comment.