From: Marius Gavrilescu Date: Fri, 31 Jan 2014 13:20:42 +0000 (+0200) Subject: Fix meta.yml in test problems and jobs, reduce aplusb time limit X-Git-Tag: 5999.000_001~20 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=738dd65fba20a13ba486e71366febc16f1087b21;p=gruntmaster-daemon.git Fix meta.yml in test problems and jobs, reduce aplusb time limit --- diff --git a/t/problems/aminusb/meta.yml b/t/problems/aminusb/meta.yml index 1291dc9..69bcc74 100644 --- a/t/problems/aminusb/meta.yml +++ b/t/problems/aminusb/meta.yml @@ -12,6 +12,3 @@ files: ver: format: CPP name: ver.cpp - prog: - format: CPP - name: prog.cpp diff --git a/t/problems/aminusb/tests/ac/meta.yml b/t/problems/aminusb/tests/ac/meta.yml index 6b2bc2f..faec381 100644 --- a/t/problems/aminusb/tests/ac/meta.yml +++ b/t/problems/aminusb/tests/ac/meta.yml @@ -19,3 +19,7 @@ expected_results: - id: 5 result: 0 result_text: 20 +files: + prog: + format: CPP + name: prog.cpp diff --git a/t/problems/aminusb/tests/wa/meta.yml b/t/problems/aminusb/tests/wa/meta.yml index 285d9e1..87d6d0e 100644 --- a/t/problems/aminusb/tests/wa/meta.yml +++ b/t/problems/aminusb/tests/wa/meta.yml @@ -19,3 +19,7 @@ expected_results: - id: 5 result: 1 result_text: Wrong answer +files: + prog: + format: CPP + name: prog.cpp diff --git a/t/problems/aplusb/meta.yml b/t/problems/aplusb/meta.yml index 6e20d6f..1979a44 100644 --- a/t/problems/aplusb/meta.yml +++ b/t/problems/aplusb/meta.yml @@ -4,14 +4,10 @@ generator: File judge: Points runner: File testcnt: 6 -timeout: 1 +timeout: 0.2 mlimit: 20971520 olimit: 100 description: The simple A+B problem -files: - prog: - format: CPP - name: prog.cpp tests: - 20 - 20 diff --git a/t/problems/aplusb/tests/40/meta.yml b/t/problems/aplusb/tests/40/meta.yml index 80a67ba..80180bd 100644 --- a/t/problems/aplusb/tests/40/meta.yml +++ b/t/problems/aplusb/tests/40/meta.yml @@ -22,4 +22,7 @@ expected_results: - id: 6 result: 0 result_text: 10 - +files: + prog: + format: CPP + name: prog.cpp diff --git a/t/problems/aplusb/tests/ac/meta.yml b/t/problems/aplusb/tests/ac/meta.yml index f01b97f..e5fa091 100644 --- a/t/problems/aplusb/tests/ac/meta.yml +++ b/t/problems/aplusb/tests/ac/meta.yml @@ -22,3 +22,7 @@ expected_results: - id: 6 result: 0 result_text: 10 +files: + prog: + format: CPP + name: prog.cpp diff --git a/t/problems/aplusb/tests/compile-error/meta.yml b/t/problems/aplusb/tests/compile-error/meta.yml index a610d14..d994edb 100644 --- a/t/problems/aplusb/tests/compile-error/meta.yml +++ b/t/problems/aplusb/tests/compile-error/meta.yml @@ -2,4 +2,8 @@ test_name: Compile Error test_description: A program which does not compile problem: aplusb expected_result: -1 -expected_result_text: Compile error \ No newline at end of file +expected_result_text: Compile error +files: + prog: + format: CPP + name: prog.cpp diff --git a/t/problems/aplusb/tests/mle/meta.yml b/t/problems/aplusb/tests/mle/meta.yml index b71c482..3228dd4 100644 --- a/t/problems/aplusb/tests/mle/meta.yml +++ b/t/problems/aplusb/tests/mle/meta.yml @@ -22,3 +22,7 @@ expected_results: - id: 6 result: 5 result_text: Crash (SIGKILL) +files: + prog: + format: CPP + name: prog.cpp diff --git a/t/problems/aplusb/tests/nzx/meta.yml b/t/problems/aplusb/tests/nzx/meta.yml index 97dfc8d..1d5241b 100644 --- a/t/problems/aplusb/tests/nzx/meta.yml +++ b/t/problems/aplusb/tests/nzx/meta.yml @@ -22,3 +22,7 @@ expected_results: - id: 6 result: 2 result_text: 'Non-zero exit status: 42' +files: + prog: + format: CPP + name: prog.cpp diff --git a/t/problems/aplusb/tests/ole/meta.yml b/t/problems/aplusb/tests/ole/meta.yml index f5248e0..15f8430 100644 --- a/t/problems/aplusb/tests/ole/meta.yml +++ b/t/problems/aplusb/tests/ole/meta.yml @@ -22,3 +22,7 @@ expected_results: - id: 6 result: 4 result_text: Output Limit Exceeded +files: + prog: + format: CPP + name: prog.cpp diff --git a/t/problems/aplusb/tests/tle/meta.yml b/t/problems/aplusb/tests/tle/meta.yml index 976ac47..0abafd3 100644 --- a/t/problems/aplusb/tests/tle/meta.yml +++ b/t/problems/aplusb/tests/tle/meta.yml @@ -22,3 +22,7 @@ expected_results: - id: 6 result: 3 result_text: Time Limit Exceeded +files: + prog: + format: CPP + name: prog.cpp diff --git a/t/problems/double/meta.yml b/t/problems/double/meta.yml index 21ffc4b..8d4cede 100644 --- a/t/problems/double/meta.yml +++ b/t/problems/double/meta.yml @@ -8,7 +8,3 @@ timeout: 1 mlimit: 20971520 olimit: 100 description: The A * 2 problem -files: - prog: - format: CPP - name: prog.cpp diff --git a/t/problems/double/tests/wa/meta.yml b/t/problems/double/tests/wa/meta.yml index 00f38de..286a611 100644 --- a/t/problems/double/tests/wa/meta.yml +++ b/t/problems/double/tests/wa/meta.yml @@ -16,3 +16,7 @@ expected_results: - id: 4 result: 1 result_text: Wrong answer +files: + prog: + format: CPP + name: prog.cpp diff --git a/t/problems/increment/meta.yml b/t/problems/increment/meta.yml index 3ca70dd..dc01159 100644 --- a/t/problems/increment/meta.yml +++ b/t/problems/increment/meta.yml @@ -11,6 +11,3 @@ files: int: format: CPP name: int.cpp - prog: - format: CPP - name: prog.cpp diff --git a/t/problems/increment/tests/ac/meta.yml b/t/problems/increment/tests/ac/meta.yml index 9576c5c..37dd268 100644 --- a/t/problems/increment/tests/ac/meta.yml +++ b/t/problems/increment/tests/ac/meta.yml @@ -19,3 +19,7 @@ expected_results: - id: 5 result: 0 result_text: 20 +files: + prog: + format: CPP + name: prog.cpp diff --git a/t/problems/square/meta.yml b/t/problems/square/meta.yml index 99ee850..660f161 100644 --- a/t/problems/square/meta.yml +++ b/t/problems/square/meta.yml @@ -15,6 +15,3 @@ files: gen: format: CPP name: gen.cpp - prog: - format: CPP - name: prog.cpp diff --git a/t/problems/square/tests/ac/meta.yml b/t/problems/square/tests/ac/meta.yml index 93fd38f..04437d6 100644 --- a/t/problems/square/tests/ac/meta.yml +++ b/t/problems/square/tests/ac/meta.yml @@ -34,3 +34,7 @@ expected_results: - id: 10 result: 0 result_text: 10 +files: + prog: + format: CPP + name: prog.cpp