[node-patches] Change in ovirt-node[master]: tests: Switch suites syntax

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Sep 19 09:02:54 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: tests: Switch suites syntax
......................................................................

tests: Switch suites syntax

YAML is now used to specify testsuits this is more future proof.

Change-Id: I5084bab1734b3e3d414c6a847cf1e7f13289080e
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M tests/igor/suites/ai_basic.suite
M tests/igor/suites/ai_extended.suite
M tests/igor/suites/mi_basic.suite
M tests/igor/suites/mi_extended.suite
4 files changed, 50 insertions(+), 63 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/46/8046/1

diff --git a/tests/igor/suites/ai_basic.suite b/tests/igor/suites/ai_basic.suite
index d250097..d99430c 100644
--- a/tests/igor/suites/ai_basic.suite
+++ b/tests/igor/suites/ai_basic.suite
@@ -1,20 +1,16 @@
-#
-#
-# On eset per line, this is no script
-#
-
-description:Automated installation without TUI tests.
+---
+description: 'Automated installation without TUI tests.'
 
 
+---
 # Where to look for testsets.
 # By default it's the dirname of this file
-searchpath:../sets/
+searchpath: '../sets/'
+sets:
+  - 'after_auto_install.set'
+  - 'basic.set'
+  - 'reboot.set'
+  - 'services.set'
+  - 'after_testing.set'
 
-# Now all the sets that form this suite:
-after_auto_install.set
-
-basic.set
-reboot.set
-services.set
-
-after_testing.set
+---
diff --git a/tests/igor/suites/ai_extended.suite b/tests/igor/suites/ai_extended.suite
index 1e3ad90..6cce744 100644
--- a/tests/igor/suites/ai_extended.suite
+++ b/tests/igor/suites/ai_extended.suite
@@ -1,21 +1,16 @@
-#
-#
-# On eset per line, this is no script
-#
-
-description:Automated installation with additional (but without TUI) tests.
+---
+description: 'Automated installation with additional (but without TUI) tests.'
 
 
+---
 # Where to look for testsets.
 # By default it's the dirname of this file
-searchpath:../sets/
-
-# Now all the sets that form this suite:
-after_auto_install.set
-
-basic.set
-reboot.set
-services.set
-python.set
-
-after_testing.set
+searchpath: '../sets/'
+sets:
+  - 'after_auto_install.set'
+  - 'basic.set'
+  - 'reboot.set'
+  - 'services.set'
+  - 'python.set'
+  - 'after_testing.set'
+---
diff --git a/tests/igor/suites/mi_basic.suite b/tests/igor/suites/mi_basic.suite
index aba468b..db6fbe4 100644
--- a/tests/igor/suites/mi_basic.suite
+++ b/tests/igor/suites/mi_basic.suite
@@ -1,18 +1,14 @@
-#
-#
-# On eset per line, this is no script
-#
-
-description:Manual TUI installation with no additional tests.
+---
+description: 'Manual TUI installation with no additional tests.'
 
 
+---
 # Where to look for testsets.
 # By default it's the dirname of this file
-searchpath:../sets/
+searchpath: '../sets/'
+sets:
+  - 'before_testing.set'
+  - 'tui/manual_installation_basic.set'
+  - 'after_testing.set'
 
-# Now all the sets that form this suite:
-before_testing.set
-
-tui/manual_installation_basic.set
-
-after_testing.set
+---
diff --git a/tests/igor/suites/mi_extended.suite b/tests/igor/suites/mi_extended.suite
index c53a894..dc62ab9 100644
--- a/tests/igor/suites/mi_extended.suite
+++ b/tests/igor/suites/mi_extended.suite
@@ -1,23 +1,23 @@
-#
-#
-# On eset per line, this is no script
-#
-
-description:Manual TUI installation with additional tests (including TUI).
+---
+description: 'Manual TUI installation with additional tests (including TUI).'
 
 
-# Where to look for testsets.
-# By default it's the dirname of this file
-searchpath:../sets/
+---
+searchpath: '../sets/'
+sets:
+  - 'before_testing.set'
+  - 'tui/manual_installation_extended.set'
+  - 'reboot.set'
 
-# Now all the sets that form this suite:
-before_testing.set
+---
+searchpath: '../sets/'
+sets:
+  - 'tui/login.set'
+  - 'tui/check_navigation.set'
 
-tui/manual_installation_extended.set
+---
+searchpath: '../sets/'
+sets:
+  - 'after_testing.set'
 
-reboot.set
-
-tui/login.set
-tui/check_navigation.set
-
-after_testing.set
+---


--
To view, visit http://gerrit.ovirt.org/8046
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5084bab1734b3e3d414c6a847cf1e7f13289080e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list