Skip to content

Commit

Permalink
Suppress stderr output in CT tests, fixes #220
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbattle committed Jan 3, 2014
1 parent 85b60ea commit 70f06dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,10 @@ public List<Object> getList()
{
return result;
}

public void setException(Exception e)
{
// Don't print out the error for CT
exception.add(e);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class MainThread extends SchedulablePoolThread
public final PExp expression;

private Value result = new UndefinedValue();
private Vector<Exception> exception = new Vector<Exception>();
protected Vector<Exception> exception = new Vector<Exception>();

public MainThread(PExp expr, Context ctxt)
{
Expand Down

0 comments on commit 70f06dd

Please sign in to comment.