Skip to content
Snippets Groups Projects
Commit 7b1cce45 authored by Dragoș-Iulian ARGINT (94922)'s avatar Dragoș-Iulian ARGINT (94922)
Browse files

Update checker.sh to log the output of the VM


Signed-off-by: default avatarDragos Iulian ARGINT <dragos.argint@stud.acs.upb.ro>
parent 639dc523
Branches master
No related tags found
No related merge requests found
Pipeline #55185 passed
#!/bin/bash
SO2_WORKSPACE=/linux/tools/labs
SO2_VM_LOG=/tmp/so2_vm_log.txt
ASSIGNMENT0_TIMEOUT=300 # 5 min
......@@ -88,6 +89,9 @@ timeout_exceeded()
else
cat $output
fi
echo "dumping SO2_VM_LOG=${SO2_VM_LOG} output"
cat $SO2_VM_LOG
echo "The Recover Grade Timeout option is not set! Please contact a teaching assistant!"
else
recover_grade_from_timeout $output
......@@ -205,7 +209,7 @@ run_checker()
done
fi
LINUX_ADD_CMDLINE="so2=$assignment" make checker &> /dev/null &
LINUX_ADD_CMDLINE="so2=$assignment" make checker &> ${SO2_VM_LOG} &
timeout=0
echo -n "CHECKER IS RUNNING"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment