[gnome-continuous] installedtests: move gnome-desktop-testing-runner to a script
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] installedtests: move gnome-desktop-testing-runner to a script
- Date: Tue, 17 Mar 2015 13:04:04 +0000 (UTC)
commit 2d518f50cef3dea6d88b7e7f19ca65e445850be0
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Mar 17 14:03:24 2015 +0100
installedtests: move gnome-desktop-testing-runner to a script
This will also disable gnome-initial-setup, as installed-tests
produce too many screenshots
src/js/tasks/task-integrationtest.js | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/src/js/tasks/task-integrationtest.js b/src/js/tasks/task-integrationtest.js
index 63c1208..a5a4cc0 100644
--- a/src/js/tasks/task-integrationtest.js
+++ b/src/js/tasks/task-integrationtest.js
@@ -130,10 +130,19 @@ const TaskIntegrationTest = new Lang.Class({
else
print("NOTE: No such xfail test: " + xfail);
}
+ let testsScript = '#!/bin/sh\n\
+mkdir ~/.config\n\
+echo "yes" >> ~/.config/gnome-initial-setup-done\n\
+gnome-desktop-testing-runner --parallel 0 --status=yes --report-directory=~/installed-tests-results\n';
+ let dest = deployEtcDir.resolve_relative_path('home/testuser/gnome-continuous-installed-tests.sh');
+ GSystem.file_ensure_directory(dest.get_parent(), true, cancellable);
+ dest.replace_contents(testsScript, null, false, Gio.FileCreateFlags.REPLACE_DESTINATION,
+ cancellable);
+
let desktopFile = '[Desktop Entry]\n\
Encoding=UTF-8\n\
Name=GNOME installed tests runner\n\
-Exec=gnome-desktop-testing-runner --parallel 0 --status=yes
--report-directory=/home/testuser/installed-tests-results\n\
+Exec=sh home/testuser/gnome-continuous-installed-tests.sh\n\
Terminal=false\n\
Type=Application\n';
let dest = deployEtcDir.resolve_relative_path('xdg/autostart/gnome-desktop-testing.desktop');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]