summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917>2010-02-18 23:33:33 +0000
committerfergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917>2010-02-18 23:33:33 +0000
commit85e2f78a3967a571c448c15259cb4be875cb87da (patch)
tree102b512b21a8a9159764e7acf969e6d95a81c97f
parentf04234a9cb6f8e1c47034404847b332481f95b7c (diff)
downloaddistcc-85e2f78a3967a571c448c15259cb4be875cb87da.tar.gz
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
-rwxr-xr-xtest/testdistcc.py4
1 files changed, 3 insertions, 1 deletions
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()