From 85e2f78a3967a571c448c15259cb4be875cb87da Mon Sep 17 00:00:00 2001 From: "fergus.henderson" Date: Thu, 18 Feb 2010 23:33:33 +0000 Subject: Change the PreprocessAsm_Case so that it reports NOTRUN rather than PASS for systems where it is not run. git-svn-id: http://distcc.googlecode.com/svn/trunk@713 01de4be4-8c4a-0410-9132-4925637da917 --- test/testdistcc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/testdistcc.py b/test/testdistcc.py index cdfb831..5ce4ef8 100755 --- a/test/testdistcc.py +++ b/test/testdistcc.py @@ -1917,11 +1917,13 @@ msg: def setup(self): WithDaemon_Case.setup(self) open('test2.S', 'wt').write(self.asm_source) - + def compile(self): if sys.platform == 'linux2': self.runcmd(self.distcc() + "-o test2.o -c test2.S") + else: + raise comfychair.NotRunError ('this test is system-specific') def runtest(self): self.compile() -- cgit v1.2.1