mirror of
https://github.com/kmc7468/cs220.git
synced 2025-12-12 21:08:45 +00:00
Merge branch 'grade-script' into 'main'
Modify grade time See merge request kaist-cp-class/cs220-private!33
This commit is contained in:
@@ -80,7 +80,8 @@ _run_tests_with() {
|
||||
# local NUM_TESTS=$(echo $TESTS | wc -w)
|
||||
for TEST in ${TESTS[@]}; do
|
||||
local TEST_CMD="$CARGO test $* --lib -- $TEST"
|
||||
timeout ${TIMEOUT:-20s} bash -c "$TEST_CMD 2> /dev/null" 1>&2
|
||||
# card_game in Assignment12 takes 20 seconds.
|
||||
timeout ${TIMEOUT:-22s} bash -c "$TEST_CMD 2> /dev/null" 1>&2
|
||||
case $? in
|
||||
0) PASSED=$((PASSED + 1));;
|
||||
124) echo_err "Test timed out: $TEST_CMD";;
|
||||
|
||||
Reference in New Issue
Block a user