diff options
author | Elliott Hughes <enh@google.com> | 2014-04-30 18:29:31 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-04-30 18:29:31 +0000 |
commit | 2ae3f60ca37ce01beba748bb6ffd02401a543721 (patch) | |
tree | 81925d42b18d74111e3a544ce1646948dd6b596b /tests | |
parent | 77473e408504a7e298816b4071cd6902065b03d8 (diff) | |
parent | 2d36750c3ad8fd91cf52cb0ed8f38ecfd88b0f13 (diff) | |
download | bionic-2ae3f60ca37ce01beba748bb6ffd02401a543721.zip bionic-2ae3f60ca37ce01beba748bb6ffd02401a543721.tar.gz bionic-2ae3f60ca37ce01beba748bb6ffd02401a543721.tar.bz2 |
Merge "Fix the CPU_*_S tests."
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sched_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/sched_test.cpp b/tests/sched_test.cpp index 2578289..8dba948 100644 --- a/tests/sched_test.cpp +++ b/tests/sched_test.cpp @@ -202,9 +202,9 @@ TEST(sched, cpu_op_s_macros) { size_t size2 = CPU_ALLOC_SIZE(set_size2); size_t size3 = CPU_ALLOC_SIZE(set_size3); - cpu_set_t* set1 = CPU_ALLOC(size1); - cpu_set_t* set2 = CPU_ALLOC(size2); - cpu_set_t* set3 = CPU_ALLOC(size3); + cpu_set_t* set1 = CPU_ALLOC(set_size1); + cpu_set_t* set2 = CPU_ALLOC(set_size2); + cpu_set_t* set3 = CPU_ALLOC(set_size3); CPU_ZERO_S(size1, set1); CPU_ZERO_S(size2, set2); CPU_ZERO_S(size3, set3); @@ -239,8 +239,8 @@ TEST(sched, cpu_equal_s) { size_t size1 = CPU_ALLOC_SIZE(set_size1); size_t size2 = CPU_ALLOC_SIZE(set_size2); - cpu_set_t* set1 = CPU_ALLOC(size1); - cpu_set_t* set2 = CPU_ALLOC(size2); + cpu_set_t* set1 = CPU_ALLOC(set_size1); + cpu_set_t* set2 = CPU_ALLOC(set_size2); CPU_ZERO_S(size1, set1); CPU_ZERO_S(size2, set2); |