New prepareVM(Builder) method in TruffleTCK was: truffle-api-changes #202
Jaroslav Tulach
jaroslav.tulach at oracle.com
Wed Mar 23 08:03:13 UTC 2016
Hi.
As the report indicates:
Missing Methods
---------------
com.oracle.truffle.tck.TruffleTCK: method protected abstract
com.oracle.truffle.api.vm.PolyglotEngine
com.oracle.truffle.tck.TruffleTCK.prepareVM()
Added Methods
-------------
com.oracle.truffle.tck.TruffleTCK: method protected
com.oracle.truffle.api.vm.PolyglotEngine
com.oracle.truffle.tck.TruffleTCK.prepareVM()
com.oracle.truffle.tck.TruffleTCK: method protected
com.oracle.truffle.api.vm.PolyglotEngine
com.oracle.truffle.tck.TruffleTCK.prepareVM(com.oracle.truffle.api.vm.PolyglotEngine$Builder)
com.oracle.truffle.tck.TruffleTCK: method public static void
com.oracle.truffle.tck.TruffleTCK.disposePreviousVM()
anno 0 org.junit.AfterClass()
there is a new method in the TCK, please consider implementing it - e.g. use
the provided builder instead of creating your own.
The change is result of
https://github.com/graalvm/truffle/pull/146
and it opens up new possibilities in the test compatibility kit testing. For
example I have long open request to test importSymbol method. Or we'd like to
test debugging capabilities of languages [like we do for SL]
(https://github.com/graalvm/truffle/blob/a4d9f095b6e2d2eb370aff6d848055adeac627a5/truffle/com.oracle.truffle.sl.test/src/com/oracle/truffle/sl/test/SLDebugTest.java)
With the new method signature these tasks should be easier than ever.
-jt
More information about the graal-dev
mailing list