[gnome-desktop-testing/wip/manual: 3/5] Run tests based on paths on ARGV
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop-testing/wip/manual: 3/5] Run tests based on paths on ARGV
- Date: Fri, 26 Apr 2013 01:36:17 +0000 (UTC)
commit bf7d867b2fc87bcbd261b0bc9d0d25ef4abcf763
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Apr 25 19:58:04 2013 -0400
Run tests based on paths on ARGV
src/gnome-desktop-testing-runner.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-desktop-testing-runner.js b/src/gnome-desktop-testing-runner.js
index 41f3cd3..1b1f8fc 100755
--- a/src/gnome-desktop-testing-runner.js
+++ b/src/gnome-desktop-testing-runner.js
@@ -94,8 +94,10 @@ function runTestsInDirectory(file) {
}
}
-let path = Gio.File.new_for_path('/usr/share/installed-tests');
-runTestsInDirectory(path);
+let testDirs = ARGV.slice();
+testDirs.forEach(function(path) {
+ runTestsInDirectory(Gio.File.new_for_path(path));
+});
let rval;
if (nFailedTests == 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]