aboutsummaryrefslogtreecommitdiff
path: root/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-07-27 14:18:11 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-07-27 14:18:11 +0300
commit427cfbf569113aeab6b98b96c8e9c3cf2532e8ae (patch)
tree39352df0eb537d815b425581f673ff55d3462d28 /environment.py
parent208e0122fb2b166c7c29463c31a785935ca30a04 (diff)
downloadmeson-427cfbf569113aeab6b98b96c8e9c3cf2532e8ae.zip
meson-427cfbf569113aeab6b98b96c8e9c3cf2532e8ae.tar.gz
meson-427cfbf569113aeab6b98b96c8e9c3cf2532e8ae.tar.bz2
Interpreter side of tryrun is mostly done.
Diffstat (limited to 'environment.py')
-rw-r--r--environment.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/environment.py b/environment.py
index f7f42e1..309a1e3 100644
--- a/environment.py
+++ b/environment.py
@@ -23,6 +23,13 @@ class EnvironmentException(Exception):
def __init(self, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
+class RunResult():
+ def __init__(self, compiled, returncode=999, stdout='UNDEFINED', stderr='UNDEFINED'):
+ self.compiled = compiled
+ self.returncode = returncode
+ self.stdout = stdout
+ self.stderr = stderr
+
class CCompiler():
def __init__(self, exelist):
if type(exelist) == type(''):