[gnome-continuous] integrationtest: set correct path for script and kill initial-setup properly
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] integrationtest: set correct path for script and kill initial-setup properly
- Date: Mon, 30 Mar 2015 11:03:15 +0000 (UTC)
commit 8b7334b98e87cd359381127349a443d86d1631c9
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Mon Mar 30 13:02:58 2015 +0200
integrationtest: set correct path for script and kill initial-setup properly
src/js/tasks/task-integrationtest.js | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/js/tasks/task-integrationtest.js b/src/js/tasks/task-integrationtest.js
index 61cecfc..61bc443 100644
--- a/src/js/tasks/task-integrationtest.js
+++ b/src/js/tasks/task-integrationtest.js
@@ -131,11 +131,9 @@ const TaskIntegrationTest = new Lang.Class({
print("NOTE: No such xfail test: " + xfail);
}
let testsScript = '#!/bin/sh\n\
-mkdir ~/.config\n\
-echo "yes" >> ~/.config/gnome-initial-setup-done\n\
-killall gnome-initial-setup || true\n\
+pkill gnome-initial || true\n\
gnome-desktop-testing-runner --parallel 0 --status=yes --report-directory=~/installed-tests-results\n';
- let dest = deployDir.resolve_relative_path('home/testuser/gnome-continuous-installed-tests.sh');
+ let dest = deployDir.resolve_relative_path('bin/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);
@@ -143,7 +141,7 @@ gnome-desktop-testing-runner --parallel 0 --status=yes --report-directory=~/inst
let desktopFile = '[Desktop Entry]\n\
Encoding=UTF-8\n\
Name=GNOME installed tests runner\n\
-Exec=wq/home/testuser/gnome-continuous-installed-tests.sh\n\
+Exec=sh /bin/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]