forked from aeonstasis/allocator-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jed2922-TestAllocator.out
120 lines (106 loc) · 5.13 KB
/
jed2922-TestAllocator.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
==5676== Memcheck, a memory error detector
==5676== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==5676== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==5676== Command: ./TestAllocator
==5676==
Running main() from gtest_main.cc
[==========] Running 26 tests from 14 test cases.
[----------] Global test environment set-up.
[----------] 2 tests from TestAllocator1/0, where TypeParam = std::allocator<int>
[ RUN ] TestAllocator1/0.test_1
[ OK ] TestAllocator1/0.test_1 (8 ms)
[ RUN ] TestAllocator1/0.test_10
[ OK ] TestAllocator1/0.test_10 (3 ms)
[----------] 2 tests from TestAllocator1/0 (18 ms total)
[----------] 2 tests from TestAllocator1/1, where TypeParam = std::allocator<double>
[ RUN ] TestAllocator1/1.test_1
[ OK ] TestAllocator1/1.test_1 (4 ms)
[ RUN ] TestAllocator1/1.test_10
[ OK ] TestAllocator1/1.test_10 (3 ms)
[----------] 2 tests from TestAllocator1/1 (7 ms total)
[----------] 2 tests from TestAllocator1/2, where TypeParam = my_allocator<int, 100ul>
[ RUN ] TestAllocator1/2.test_1
[ OK ] TestAllocator1/2.test_1 (8 ms)
[ RUN ] TestAllocator1/2.test_10
[ OK ] TestAllocator1/2.test_10 (3 ms)
[----------] 2 tests from TestAllocator1/2 (11 ms total)
[----------] 2 tests from TestAllocator1/3, where TypeParam = my_allocator<double, 100ul>
[ RUN ] TestAllocator1/3.test_1
[ OK ] TestAllocator1/3.test_1 (8 ms)
[ RUN ] TestAllocator1/3.test_10
[ OK ] TestAllocator1/3.test_10 (3 ms)
[----------] 2 tests from TestAllocator1/3 (11 ms total)
[----------] 4 tests from TestAllocator2
[ RUN ] TestAllocator2.const_index
[ OK ] TestAllocator2.const_index (2 ms)
[ RUN ] TestAllocator2.index
[ OK ] TestAllocator2.index (1 ms)
[ RUN ] TestAllocator2.const_double_index
[ OK ] TestAllocator2.const_double_index (2 ms)
[ RUN ] TestAllocator2.double_index
[ OK ] TestAllocator2.double_index (2 ms)
[----------] 4 tests from TestAllocator2 (8 ms total)
[----------] 2 tests from TestAllocator3/0, where TypeParam = my_allocator<int, 100ul>
[ RUN ] TestAllocator3/0.test_1
[ OK ] TestAllocator3/0.test_1 (3 ms)
[ RUN ] TestAllocator3/0.test_10
[ OK ] TestAllocator3/0.test_10 (2 ms)
[----------] 2 tests from TestAllocator3/0 (6 ms total)
[----------] 2 tests from TestAllocator3/1, where TypeParam = my_allocator<double, 100ul>
[ RUN ] TestAllocator3/1.test_1
[ OK ] TestAllocator3/1.test_1 (2 ms)
[ RUN ] TestAllocator3/1.test_10
[ OK ] TestAllocator3/1.test_10 (3 ms)
[----------] 2 tests from TestAllocator3/1 (5 ms total)
[----------] 2 tests from TestAllocator4/0, where TypeParam = my_allocator<char, 13ul>
[ RUN ] TestAllocator4/0.test_tight
[ OK ] TestAllocator4/0.test_tight (7 ms)
[ RUN ] TestAllocator4/0.test_notEnoughSpace
[ OK ] TestAllocator4/0.test_notEnoughSpace (29 ms)
[----------] 2 tests from TestAllocator4/0 (36 ms total)
[----------] 2 tests from TestAllocator4/1, where TypeParam = my_allocator<int, 28ul>
[ RUN ] TestAllocator4/1.test_tight
[ OK ] TestAllocator4/1.test_tight (6 ms)
[ RUN ] TestAllocator4/1.test_notEnoughSpace
[ OK ] TestAllocator4/1.test_notEnoughSpace (2 ms)
[----------] 2 tests from TestAllocator4/1 (8 ms total)
[----------] 2 tests from TestAllocator4/2, where TypeParam = my_allocator<double, 48ul>
[ RUN ] TestAllocator4/2.test_tight
[ OK ] TestAllocator4/2.test_tight (6 ms)
[ RUN ] TestAllocator4/2.test_notEnoughSpace
[ OK ] TestAllocator4/2.test_notEnoughSpace (2 ms)
[----------] 2 tests from TestAllocator4/2 (8 ms total)
[----------] 1 test from TestAllocator5/0, where TypeParam = my_allocator<char, 20ul>
[ RUN ] TestAllocator5/0.test_complex
[ OK ] TestAllocator5/0.test_complex (9 ms)
[----------] 1 test from TestAllocator5/0 (9 ms total)
[----------] 1 test from TestAllocator5/1, where TypeParam = my_allocator<int, 28ul>
[ RUN ] TestAllocator5/1.test_complex
[ OK ] TestAllocator5/1.test_complex (5 ms)
[----------] 1 test from TestAllocator5/1 (5 ms total)
[----------] 1 test from TestAllocator5/2, where TypeParam = my_allocator<double, 48ul>
[ RUN ] TestAllocator5/2.test_complex
[ OK ] TestAllocator5/2.test_complex (6 ms)
[----------] 1 test from TestAllocator5/2 (6 ms total)
[----------] 1 test from TestValid
[ RUN ] TestValid.valid_simple
[ OK ] TestValid.valid_simple (3 ms)
[----------] 1 test from TestValid (4 ms total)
[----------] Global test environment tear-down
[==========] 26 tests from 14 test cases ran. (165 ms total)
[ PASSED ] 26 tests.
==5676==
==5676== HEAP SUMMARY:
==5676== in use at exit: 0 bytes in 0 blocks
==5676== total heap usage: 1,168 allocs, 1,168 frees, 154,736 bytes allocated
==5676==
==5676== All heap blocks were freed -- no leaks are possible
==5676==
==5676== For counts of detected and suppressed errors, rerun with: -v
==5676== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
File 'TestAllocator.c++'
Lines executed:100.00% of 109
Branches executed:68.72% of 716
Taken at least once:36.03% of 716
Calls executed:53.95% of 697
Creating 'TestAllocator.c++.gcov'