Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Commits
a5731571
Commit
a5731571
authored
2 years ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
Testy: Také založíme úlohy
parent
9c81bf6e
Branches
Branches containing commit
No related tags found
1 merge request
!121
Testovací prostředí
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/test-init
+11
-0
11 additions, 0 deletions
bin/test-init
with
11 additions
and
0 deletions
bin/test-init
+
11
−
0
View file @
a5731571
...
...
@@ -115,6 +115,16 @@ init_contests ()
run create-contests 42-Z7-2
--region
P8
}
init_tasks
()
{
progress
"Zakládám úlohy"
local
R
for
R
in
42-A-
{
1,2,3,4a,4b
}
42-Z7-
{
1,2
}
;
do
run create-tasks
$R
$(
echo
$R
|
cut
-d-
-f3
)
4
--points
10
done
}
init_contestants
()
{
progress
"Přihlašuji soutěžící"
...
...
@@ -161,5 +171,6 @@ init_data
init_codes
init_users
init_contests
init_tasks
init_contestants
init_states
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