- First, you need to download the project (download the .zip file or "git clone" it):
wget https://github.com/wepsim/tester/archive/refs/heads/main.zip
unzip tester-main.zip
cd tester-main/
- Then, you need to download all laboratories of each teaching group and save the associated .zip file the
submissions
directory.
ls submissions
- Finally, complete the solutions (labeled as TODO in the test directory files)
ls test
- First, you need to spin up the container with:
./ws.sh start
- To unzip the submitted files in p2-90.zip for the group 90 please use:
./s10_unzip.sh p2-90.zip
- To prepare the execution output to compare with:
./s10_tests.sh tests/tests.in
- To check only the 90 group:
./s20_check.sh tests/tests.in p2-90.in
- Finally, you can spin down the container:
./ws.sh stop
- First, you need to spin up the container with:
./ws.sh start
- For each submitted work named <xxxxx_yyyyy> that needs some modification please first backup the original files in the ORIGINAL subdirectory:
mkdir -p p2-90/<xxxxx_yyyyy>/ORIGINAL
cp -a p2-90/<xxxxx_yyyyy>/* p2-90/<xxxxx_yyyyy>/ORIGINAL
- For example:
- If file names are not OK (p2-report.pdf, ej2_microcode.txt.txt, etc.)
- If fetch has to be removed from the submitted microcode.
- Etc.
- Normally the adjustments involve penalties for not following what is requested in the statement.
3.a To check again the 90 group:
./s10_tests.sh tests/tests.in
./s20_check.sh tests/tests.in p2-90.in
3.b To check again several groups:
./s20_check.sh tests/tests.in p2-80.in
./s20_check.sh tests/tests.in p2-81.in
./s20_check.sh tests/tests.in p2-82.in
./s20_check.sh tests/tests.in p2-83.in
3.c To check a sublist please use:
mv p2-90.in p2-90-original.in
grep 100xxx p2-90-original.in > p2-90.in
- Finally, you can spin down the container:
./ws.sh stop