sbsv2/raptor/test/smoke_suite/query_cli.py
branchwip
changeset 499 cad3b96a4fb1
parent 498 564986768b79
child 502 b4aaa46b1beb
--- a/sbsv2/raptor/test/smoke_suite/query_cli.py	Tue Apr 27 16:46:48 2010 +0100
+++ b/sbsv2/raptor/test/smoke_suite/query_cli.py	Wed Apr 28 16:46:44 2010 +0100
@@ -65,6 +65,28 @@
 	t.mustnotmatch_singleline = []
 	t.run()
 	
+	t.name = "query_cli_config_bv"
+	t.command = "sbs --query=config[armv5_urel.test_bv_1] --configpath=test/smoke_suite/test_resources/bv"
+	t.mustmatch_singleline = [
+		"<sbs version='2.*'>",
+		"fullname='arm\.v5\.urel\.rvct._.\.test_bv_1'",
+		"outputpath='.*/epoc32/release/armv5.one/urel'",
+		"</sbs>"
+		]
+	t.mustnotmatch_singleline = []
+	t.run()
+	
+	t.name = "query_cli_config_others"
+	t.command = "sbs --query=config[winscw_urel] --query=config[tools2_rel]"
+	t.mustmatch_singleline = [
+		"<sbs version='2.*'>",
+		"outputpath='.*/epoc32/release/winscw/urel'",
+		"outputpath='.*/epoc32/release/tools2/rel'",
+		"</sbs>"
+		]
+	t.mustnotmatch_singleline = []
+	t.run()
+	
 	t.name = "query_cli_bad"
 	t.command = "sbs --query=nonsense"
 	t.mustmatch_singleline = [