Skip to content

Conversation

chaemon
Copy link
Contributor

@chaemon chaemon commented Nov 4, 2019

以下を追加しました。

  • atcoder-tools compileで言語情報から適切なコンパイルを実行
  • atcoder-tools test実行の際に、実行ファイルがないまたはソースコードよりも実行ファイルのタイムスタンプが遅れている場合は自動でコンパイルを実行(下位互換性としてmetadata.jsonがなく言語がわからない場合は従来通りinfer_exec_fileを実行)
  • atcoder-tools test実行の際にjavaのコマンドが実行されない不具合を変更

@@ -1,48 +1,58 @@
#!/usr/bin/python3

import argparse
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

atcodertools/tools/setter.pyのtest coverageを上げるの難しいですかね?今50%付近で低めです


def get_test_command(self, filename: str, cwd: str = '.'):
exec_filename = cwd + '/'
if platform.system() == "Windows":
Copy link
Owner

@kyuridenamida kyuridenamida Dec 2, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows 環境の挙動がテストでカバーできてないっぽいんで、何かしらのテストがあると嬉しいです

https://codecov.io/gh/kyuridenamida/atcoder-tools/pull/168/diff?src=pr&el=tree-more

@kyuridenamida kyuridenamida changed the title Compilerを追加 Add compile command Dec 7, 2019
@kyuridenamida kyuridenamida merged commit 8b6ef3d into kyuridenamida:master Dec 7, 2019
@kyuridenamida kyuridenamida added this to the 1.1.7 milestone Jan 1, 2020
@kyuridenamida kyuridenamida modified the milestones: 1.1.7, 1.1.8 May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants