diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-07-27 14:18:11 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-07-27 14:18:11 +0300 |
commit | 427cfbf569113aeab6b98b96c8e9c3cf2532e8ae (patch) | |
tree | 39352df0eb537d815b425581f673ff55d3462d28 /environment.py | |
parent | 208e0122fb2b166c7c29463c31a785935ca30a04 (diff) | |
download | meson-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.py | 7 |
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(''): |