Commit f452222
committed
Avoid trivial memory leak in unit test driver
If we add only a subset of tests to the runner (via --re or --deny_re
options), we're careful to move the other tests to a "rejects" suite so
they'll get deleted there, but the "supertest", the suite holding all
the other tests, wasn't getting deleted in those cases.
This (on top of my earlier fixes, and using the MOOSE suppressions file
for third-party library issues) gets selective valgrind runs of our unit
tests clean for me.1 parent 3936c68 commit f452222
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
119 | 123 | | |
120 | 124 | | |
121 | 125 | | |
122 | | - | |
| 126 | + | |
| 127 | + | |
123 | 128 | | |
| 129 | + | |
124 | 130 | | |
125 | 131 | | |
126 | 132 | | |
| |||
134 | 140 | | |
135 | 141 | | |
136 | 142 | | |
137 | | - | |
| 143 | + | |
138 | 144 | | |
139 | 145 | | |
140 | 146 | | |
141 | 147 | | |
142 | 148 | | |
| 149 | + | |
| 150 | + | |
143 | 151 | | |
144 | 152 | | |
145 | | - | |
| 153 | + | |
146 | 154 | | |
147 | 155 | | |
148 | 156 | | |
| |||
0 commit comments