-
Notifications
You must be signed in to change notification settings - Fork 1
Home
github-actions edited this page Dec 5, 2021
·
89 revisions
Homework Name | Task Name | Test Name | Result |
---|---|---|---|
Homework where things go wrong [PAST DEADLINE]
|
Return number task | 0. Build succeeded | ✔ |
Wrong output format | ✘ | ||
While loop task | 0. Build succeeded | ✔ | |
Test timeout | ✘ | ||
Homework with injections | Bash with many folders | ls | ✔ |
Google Tests | 0. Build succeeded | ✔ | |
Inject fail | ✘ | ||
Inject pass | ✔ | ||
Just build | ✔ | ||
Sample homework | Bash task | Test output | ✔ |
Test wrong output | ✘ | ||
Build failure task | 0. Build succeeded | ✘ | |
CMake build arithmetics task | 0. Build succeeded | ✔ | |
Test float arithmetics | ✘ | ||
Test integer arithmetics | ✔ | ||
Simple cpp tasks | 0. Build succeeded | ✔ | |
Input output test | ✔ | ||
String output test | ✔ | ||
Wrong output fail | ✘ |
stderr:
CMake Deprecation Warning at /usr/src/googletest/CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at /usr/src/googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at /usr/src/googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Errors while running CTest
Output from these tests are in: /tmp/homework_checker/build_injected_cpptests_4d4d96ad4e802a605b5d418fccd6c9ce/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
stdout:
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /home/runner/.local/share/virtualenvs/homework_checker-cR8O9fRx/bin/python (found version "3.8.12")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/homework_checker/build_injected_cpptests_4d4d96ad4e802a605b5d418fccd6c9ce/build
[ 10%] Building CXX object googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 20%] Linking CXX static library ../../lib/libgtest.a
[ 20%] Built target gtest
[ 30%] Building CXX object googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[ 40%] Building CXX object googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 50%] Linking CXX static library ../../lib/libgtest_main.a
[ 50%] Built target gtest_main
[ 60%] Building CXX object tests/CMakeFiles/my_tests.dir/test_dummy.cpp.o
[ 70%] Linking CXX executable my_tests
[ 70%] Built target my_tests
[ 80%] Linking CXX static library ../../lib/libgmock.a
[ 80%] Built target gmock
[ 90%] Building CXX object googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
[100%] Linking CXX static library ../../lib/libgmock_main.a
[100%] Built target gmock_main
UpdateCTestConfiguration from :/tmp/homework_checker/build_injected_cpptests_4d4d96ad4e802a605b5d418fccd6c9ce/build/DartConfiguration.tcl
Parse Config file:/tmp/homework_checker/build_injected_cpptests_4d4d96ad4e802a605b5d418fccd6c9ce/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/tmp/homework_checker/build_injected_cpptests_4d4d96ad4e802a605b5d418fccd6c9ce/build/DartConfiguration.tcl
Parse Config file:/tmp/homework_checker/build_injected_cpptests_4d4d96ad4e802a605b5d418fccd6c9ce/build/DartConfiguration.tcl
Test project /tmp/homework_checker/build_injected_cpptests_4d4d96ad4e802a605b5d418fccd6c9ce/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: my_tests
1: Test command: /tmp/homework_checker/build_injected_cpptests_4d4d96ad4e802a605b5d418fccd6c9ce/build/tests/my_tests
1: Test timeout computed to be: 1500
1: Running main() from /usr/src/googletest/googletest/src/gtest_main.cc
1: [==========] Running 1 test from 1 test suite.
1: [----------] Global test environment set-up.
1: [----------] 1 test from TestDummy
1: [ RUN ] TestDummy.AlwaysFail
1: /tmp/homework_checker/build_injected_cpptests_4d4d96ad4e802a605b5d418fccd6c9ce/tests/test_dummy.cpp:4: Failure
1: Expected equality of these values:
1: 1
1: 0
1: [ FAILED ] TestDummy.AlwaysFail (0 ms)
1: [----------] 1 test from TestDummy (0 ms total)
1:
1: [----------] Global test environment tear-down
1: [==========] 1 test from 1 test suite ran. (0 ms total)
1: [ PASSED ] 0 tests.
1: [ FAILED ] 1 test, listed below:
1: [ FAILED ] TestDummy.AlwaysFail
1:
1: 1 FAILED TEST
1/1 Test #1: my_tests .........................***Failed 0.00 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 0.00 sec
The following tests FAILED:
1 - my_tests (Failed)
stderr:
Given input: ''
Your output 'Hello World!
Another line
test_me.sh'
Expected output: 'Different output that doesn't match generated one'
stdout:
Hello World!
Another line
test_me.sh
stderr:
/tmp/homework_checker/task_2_fc7cb1f8b9cfe6f557b1e31daab11dfc/main.cpp: In function ‘int main(int, const char**)’:
/tmp/homework_checker/task_2_fc7cb1f8b9cfe6f557b1e31daab11dfc/main.cpp:2:11: error: ‘stdout’ was not declared in this scope
2 | fprintf(stdout, "%s %s output\n", argv[1], argv[2]);
| ^~~~~~
/tmp/homework_checker/task_2_fc7cb1f8b9cfe6f557b1e31daab11dfc/main.cpp:1:1: note: ‘stdout’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
+++ |+#include <cstdio>
1 | int main(int argc, char const *argv[]) {
/tmp/homework_checker/task_2_fc7cb1f8b9cfe6f557b1e31daab11dfc/main.cpp:2:3: error: ‘fprintf’ was not declared in this scope
2 | fprintf(stdout, "%s %s output\n", argv[1], argv[2]);
| ^~~~~~~
make[2]: *** [CMakeFiles/main.dir/build.make:76: CMakeFiles/main.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/main.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
stdout:
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/homework_checker/task_2_fc7cb1f8b9cfe6f557b1e31daab11dfc/build
[ 50%] Building CXX object CMakeFiles/main.dir/main.cpp.o
stderr:
Given input: '2.15 5'
Your output '7.0'
Expected output: '7.15'
stdout:
7
stderr:
Given input: ''
Your output 'This is a long test output that we expect to be produced by the code. We will compare the ouput to this EXACTLY.'
Expected output: 'Unexpected output.'
stdout:
This is a long test output that we expect to be produced by the code. We will compare the ouput to this EXACTLY.
With 💙 from homework bot 🤖