Skip to content

Commit 4a682e0

Browse files
committed
refactor test presets
1 parent dbe0cbf commit 4a682e0

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

CMakePresets.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -213,27 +213,26 @@
213213
],
214214
"testPresets": [
215215
{
216-
"name": "test-Windows-msvc-Debug",
217-
"description": "Enable output and stop on failure",
216+
"name": "test-common",
217+
"hidden": true,
218218
"output": {
219219
"outputOnFailure": true
220220
},
221221
"execution": {
222222
"noTestsAction": "error",
223223
"stopOnFailure": true
224-
},
224+
}
225+
},
226+
{
227+
"name": "test-Windows-msvc-Debug",
228+
"description": "Enable output and stop on failure",
229+
"inherits": "test-common",
225230
"configurePreset": "Windows-msvc-Debug"
226231
},
227232
{
228233
"name": "test-Windows-llvm-Debug",
229234
"description": "Enable output and stop on failure",
230-
"output": {
231-
"outputOnFailure": true
232-
},
233-
"execution": {
234-
"noTestsAction": "error",
235-
"stopOnFailure": true
236-
},
235+
"inherits": "test-common",
237236
"configurePreset": "Windows-llvm-Debug"
238237
}
239238
],

0 commit comments

Comments
 (0)