diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2014-04-28 03:09:07 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2014-06-03 02:36:13 -0400 |
commit | a5df594496740ef2284fdaab8430af84e835ad57 (patch) | |
tree | 6b5b38b13e6678f93516c644ee35dc8e29b382a9 /tests | |
parent | 1834e3c912412c99735a858a522ea7089a649588 (diff) |
Remove over-specification of task parameters from two tests
Don't override the defaults unless required.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pcp.c | 4 | ||||
-rw-r--r-- | tests/sched.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/tests/pcp.c b/tests/pcp.c index 0b95a23..19b2ea6 100644 --- a/tests/pcp.c +++ b/tests/pcp.c | |||
@@ -160,10 +160,6 @@ TESTCASE(srp_ceiling_blocking, P_FP | PSN_EDF, | |||
160 | params.cpu = 0; | 160 | params.cpu = 0; |
161 | params.exec_cost = ms2ns(10000); | 161 | params.exec_cost = ms2ns(10000); |
162 | params.period = ms2ns(100000); | 162 | params.period = ms2ns(100000); |
163 | params.relative_deadline = params.period; | ||
164 | params.phase = 0; | ||
165 | params.cls = RT_CLASS_HARD; | ||
166 | params.budget_policy = NO_ENFORCEMENT; | ||
167 | 163 | ||
168 | SYSCALL( fd = open(".srp_locks", O_RDONLY | O_CREAT, S_IRUSR) ); | 164 | SYSCALL( fd = open(".srp_locks", O_RDONLY | O_CREAT, S_IRUSR) ); |
169 | 165 | ||
diff --git a/tests/sched.c b/tests/sched.c index 6726b46..6fd6d89 100644 --- a/tests/sched.c +++ b/tests/sched.c | |||
@@ -17,10 +17,6 @@ TESTCASE(preempt_on_resume, P_FP | PSN_EDF, | |||
17 | params.cpu = 0; | 17 | params.cpu = 0; |
18 | params.exec_cost = ms2ns(10000); | 18 | params.exec_cost = ms2ns(10000); |
19 | params.period = ms2ns(100000); | 19 | params.period = ms2ns(100000); |
20 | params.relative_deadline = params.period; | ||
21 | params.phase = 0; | ||
22 | params.cls = RT_CLASS_HARD; | ||
23 | params.budget_policy = NO_ENFORCEMENT; | ||
24 | 20 | ||
25 | child_lo = FORK_TASK( | 21 | child_lo = FORK_TASK( |
26 | params.priority = LITMUS_LOWEST_PRIORITY; | 22 | params.priority = LITMUS_LOWEST_PRIORITY; |