zarro 1.151.0 → 1.151.2
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.
|
@@ -182,7 +182,10 @@
|
|
|
182
182
|
: str;
|
|
183
183
|
}
|
|
184
184
|
async function test(opts) {
|
|
185
|
-
|
|
185
|
+
const labelText = !!opts.label
|
|
186
|
+
? `${label("Testing")}`
|
|
187
|
+
: `${opts.label} ${label("Testing")}`;
|
|
188
|
+
return runOnAllConfigurations(labelText, opts, configuration => {
|
|
186
189
|
const args = [
|
|
187
190
|
"test",
|
|
188
191
|
q(opts.target)
|
|
@@ -175,7 +175,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
175
175
|
return async () => {
|
|
176
176
|
debug(`${idx} start test run ${path}`);
|
|
177
177
|
try {
|
|
178
|
-
const result = await testOneDotNetCoreProject(path, configuration, verbosity, testResults, runningInParallel, rebuild);
|
|
178
|
+
const result = await testOneDotNetCoreProject(path, configuration, verbosity, testResults, runningInParallel, rebuild, false, `(${idx + 1} / ${testProjectPaths.length})`);
|
|
179
179
|
testProcessResults.push(result);
|
|
180
180
|
}
|
|
181
181
|
catch (e) {
|
|
@@ -304,7 +304,7 @@ Test Run Summary
|
|
|
304
304
|
const ms = totalMs % 1000, seconds = Math.floor(totalMs / 1000);
|
|
305
305
|
return `${seconds}.${ms} seconds`;
|
|
306
306
|
}
|
|
307
|
-
async function testOneDotNetCoreProject(target, configuration, verbosity, testResults, runningInParallel, forceBuild, suppressOutput) {
|
|
307
|
+
async function testOneDotNetCoreProject(target, configuration, verbosity, testResults, runningInParallel, forceBuild, suppressOutput, label) {
|
|
308
308
|
const quackersState = {
|
|
309
309
|
inSummary: false,
|
|
310
310
|
inFailureSummary: false,
|
|
@@ -342,7 +342,8 @@ Test Run Summary
|
|
|
342
342
|
stdout,
|
|
343
343
|
suppressOutput,
|
|
344
344
|
suppressErrors: true,
|
|
345
|
-
env: testEnvironment
|
|
345
|
+
env: testEnvironment,
|
|
346
|
+
label
|
|
346
347
|
});
|
|
347
348
|
return result;
|
|
348
349
|
}
|
package/package.json
CHANGED