[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failing Java tests due to no JRE
From: |
Mike Miller |
Subject: |
Re: Failing Java tests due to no JRE |
Date: |
Fri, 16 Sep 2016 17:21:30 -0700 |
User-agent: |
NeoMutt/20160910 (1.7.0) |
On Thu, Sep 15, 2016 at 14:03:11 -0700, Rik wrote:
> You could introduce some in-band communication method. Right now I believe
> test.m takes the test code, wraps it in a function, evals the function into
> existence, and then executes the new function in a try/catch block. I
> don't believe the created function has a return argument, but you could
> bolt one on and use that to pass information back to test.m. And certainly
> there is no rush to do this.
Yes, good point. The test block could return a specific value to signal
that the test should be marked as "skipped".
Maybe better would be to throw an error with a specific error-id that
could be caught and recognized as a runtime "skip" signal.
--
mike