zarro 1.136.9 → 1.136.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gulp-tasks/test-dotnet.js +10 -4
- package/package.json +1 -1
|
@@ -68,15 +68,20 @@ async function runTests() {
|
|
|
68
68
|
const dotNetCore = env.resolveFlag("DOTNET_CORE");
|
|
69
69
|
const testMasks = resolveTestMasks(dotNetCore),
|
|
70
70
|
configuration = env.resolve("BUILD_CONFIGURATION"),
|
|
71
|
-
tester = dotNetCore
|
|
71
|
+
tester = dotNetCore
|
|
72
|
+
? testAsDotnetCore
|
|
73
|
+
: testWithNunitCli;
|
|
72
74
|
|
|
73
75
|
debug({
|
|
74
76
|
tester,
|
|
75
77
|
configuration,
|
|
76
78
|
testMasks
|
|
77
79
|
});
|
|
78
|
-
|
|
79
|
-
|
|
80
|
+
try {
|
|
81
|
+
await tester(configuration, testMasks);
|
|
82
|
+
} finally {
|
|
83
|
+
await removeTestDiagnostics();
|
|
84
|
+
}
|
|
80
85
|
}
|
|
81
86
|
|
|
82
87
|
async function removeTestDiagnostics() {
|
|
@@ -355,7 +360,8 @@ async function testOneProject(
|
|
|
355
360
|
noBuild: true,
|
|
356
361
|
loggers,
|
|
357
362
|
stderr,
|
|
358
|
-
stdout
|
|
363
|
+
stdout,
|
|
364
|
+
suppressErrors: true // we want to collect the errors later, not die when one happens
|
|
359
365
|
});
|
|
360
366
|
}
|
|
361
367
|
|