sbsv2/raptor/test/unit_suite/raptor_cli_unit.py
branchfix
changeset 218 08ca0919c66d
parent 29 ee00c00df073
child 222 22e091e03741
--- a/sbsv2/raptor/test/unit_suite/raptor_cli_unit.py	Tue Jan 26 14:25:28 2010 +0000
+++ b/sbsv2/raptor/test/unit_suite/raptor_cli_unit.py	Thu Jan 28 16:33:36 2010 +0000
@@ -14,7 +14,7 @@
 # Description: 
 #
 
-1# Unit Test for the Raptor_cli (command line interface) module
+# Unit Test for the Raptor_cli (command line interface) module
 
 import raptor_cli
 import sys
@@ -42,6 +42,8 @@
 		self.allowCommandLineOverrides = True
 		self.ignoreOsDetection = False
 		self.filterList = "filter_terminal,filter_logfile"
+		self.noDependInclude = False
+		self.noDependGenerate = False
 		
 	def AddConfigName(self,configname):
 		self.listconfig.append(configname)
@@ -129,6 +131,9 @@
 	
 	def SetNoDependInclude(self, yesOrNo):
 		return True
+
+	def SetNoDependGenerate(self, yesOrNo):
+		return True
 		
 	def SetJobs(self, N):
 		return True
@@ -187,7 +192,9 @@
 				'--export-only',
 				'--source-target', 'some_source_file.cpp',
 				'--source-target', 'some_resource_file.rss',
-				'--pp', 'on']
+				'--pp', 'on',
+				'--no-depend-include',
+				'--no-depend-generate']
 		
 		raptor_cli.GetArgs(self,args)
 		self.assertEqual(self.RunningQuiet,False)
@@ -206,6 +213,8 @@
 		self.assertEqual(self.targets[0], 'some_source_file.cpp')
 		self.assertEqual(self.targets[1], 'some_resource_file.rss')
 		self.assertEqual(self.pp, 'on')
+		self.assertEqual(self.noDependInclude, True)
+		self.assertEqual(self.noDependGenerate, True)
 
 # run all the tests