From da5a6c4dfbccf09f5897be4fa9e5c81788b004f6 Mon Sep 17 00:00:00 2001 From: Inga Lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Wed, 21 Oct 2015 16:41:31 +0300 Subject: [PATCH] Fixed processing of test libraries in folders starting with dot --- BuildServer/lib/tasks/dotnetnunitall.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/BuildServer/lib/tasks/dotnetnunitall.js b/BuildServer/lib/tasks/dotnetnunitall.js index 4b7d4ad..1e014c9 100644 --- a/BuildServer/lib/tasks/dotnetnunitall.js +++ b/BuildServer/lib/tasks/dotnetnunitall.js @@ -6,14 +6,17 @@ var dotNetBuilderWrapper = require('./dotnetbuilderwrapper'); module.exports = function (params, processor) { return { process: function () { - glob("**/bin/**/*.{Tests,Test,UnitTests}.dll", {cwd: processor.context.exported}, function (err, files) { + glob("**/bin/**/*.{Tests,Test,UnitTests}.dll", { + dot: true, + cwd: processor.context.exported + }, function (err, files) { if (err) { processor.onError(err); return processor.done(); } if (!files || !files.length) { - processor.onError("No test assemblies found"); + processor.onError("No test assemblies found in " + processor.context.exported); return processor.done(); }