Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
0
0-list
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SO2
0-list
Commits
7b1cce45
Commit
7b1cce45
authored
1 year ago
by
Dragoș-Iulian ARGINT (94922)
Browse files
Options
Downloads
Patches
Plain Diff
Update checker.sh to log the output of the VM
Signed-off-by:
Dragos Iulian ARGINT
<
dragos.argint@stud.acs.upb.ro
>
parent
639dc523
Branches
master
No related tags found
No related merge requests found
Pipeline
#55185
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
checker/checker.sh
+5
-1
5 additions, 1 deletion
checker/checker.sh
with
5 additions
and
1 deletion
checker/checker.sh
+
5
−
1
View file @
7b1cce45
#!/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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment