Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cs350-container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
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
Kabir Oberai
cs350-container
Commits
00168cf5
Unverified
Commit
00168cf5
authored
3 years ago
by
Ryan Hancock
Browse files
Options
Downloads
Patches
Plain Diff
Update scripts
parent
f08259cc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
install.sh
+5
-0
5 additions, 0 deletions
install.sh
os161-container/evaluate.py
+3
-2
3 additions, 2 deletions
os161-container/evaluate.py
with
8 additions
and
2 deletions
install.sh
+
5
−
0
View file @
00168cf5
#!/usr/bin/env bash
set
-e
echo
"Updating our own directory"
git pull origin master
echo
"Cloning/Updating assignment directory"
git clone https://git.uwaterloo.ca/krhancoc/cs350-assignments.git os161-container/assignments
>
/dev/null 2> /dev/null
cd
os161-container/assignments
>
/dev/null
git pull origin master
>
/dev/null 2> /dev/null
cd
-
>
/dev/null
echo
"Building CS350 container"
docker build
-t
os161-runner ./os161-container
This diff is collapsed.
Click to expand it.
os161-container/evaluate.py
+
3
−
2
View file @
00168cf5
...
...
@@ -50,8 +50,9 @@ class Report:
class
Test
:
def
__init__
(
self
,
log
):
log
=
[
l
for
l
in
log
if
len
(
l
)
>
0
]
self
.
name
=
log
[
0
].
split
(
"
=
"
)[
1
]
self
.
_log
=
"
\n
"
.
join
(
log
[
4
:])
self
.
name
=
log
[
0
].
split
(
"
=
"
)[
1
].
strip
(
"
<
"
).
strip
(
"
>
"
)
# Remove the TEST=#### line
self
.
_log
=
"
\n
"
.
join
(
log
[
1
:])
def
results
(
self
):
return
self
.
_log
...
...
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