Skip to content

Commit

Permalink
default timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mzuenni authored and RagnarGrootKoerkamp committed May 14, 2022
1 parent e3ef798 commit b68e7c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

# The default timeout used for generators, visualizer etc.
DEFAULT_TIMEOUT = 30
DEFAULT_INTERACTION_TIMEOUT = 60

# The root directory of the BAPCtools repository.
tools_root = Path(__file__).resolve().parent.parent
Expand All @@ -75,7 +76,7 @@
"""
for cmd in $(bapctools --help | grep '^ {' | sed 's/ {//;s/}//;s/,/ /g') ; do bapctools $cmd --help ; done |& \
grep '^ [^ ]' | sed 's/^ //' | cut -d ' ' -f 1 | sed -E 's/,//;s/^-?-?//;s/-/_/g' | sort -u | \
grep -Ev '^(h|jobs|time|verbose)$' | sed "s/^/'/;s/$/',/" | tr '\n' ' ' | sed 's/^/args_list = [/;s/, $/]\n/'
grep -Ev '^(h|jobs|time|verbose|timeout)$' | sed "s/^/'/;s/$/',/" | tr '\n' ' ' | sed 's/^/args_list = [/;s/, $/]\n/'
"""
# fmt: off
args_list = ['1', 'add_manual', 'all', 'api', 'author', 'check_deterministic', 'clean', 'clean_generated', 'cleanup_generated', 'contest', 'contest_id', 'contestname', 'cp', 'cpp_flags', 'default_solution', 'directory', 'error', 'force', 'force_build', 'ignore_validators', 'input', 'interaction', 'interactive', 'kattis', 'memory', 'move_manual', 'move_to', 'no_bar', 'no_generate', 'no_solutions', 'no_timelimit', 'order', 'order_from_ccs', 'output', 'password', 'problem', 'problemname', 'remove', 'samples', 'scoreboard_repo', 'skel', 'skip', 'skip_solution', 'skip_testcase_sanity_checks', 'skip_visualizer', 'submissions', 'table', 'testcases', 'timelimit', 'username', 'validation', 'watch', 'web']
Expand Down

0 comments on commit b68e7c6

Please sign in to comment.