summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfergus.henderson <fergushenderson@users.noreply.github.com>2010-02-18 23:33:33 +0000
committerfergus.henderson <fergushenderson@users.noreply.github.com>2010-02-18 23:33:33 +0000
commit1a27c22fc74b64adc0f26cf4c364227b70080d2e (patch)
tree102b512b21a8a9159764e7acf969e6d95a81c97f
parent6ef4e4177bf19a0a78c1fe3e21538696b4ff720c (diff)
downloaddistcc-git-1a27c22fc74b64adc0f26cf4c364227b70080d2e.tar.gz
Change the PreprocessAsm_Case so that it reports NOTRUN
rather than PASS for systems where it is not run.
-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()