lib/android: Intro API wrapping android Bundle class

Signed-off-by: Frédéric Vachon <fredvac@gmail.com>
lib/android: Added tests to mnit_simple

Signed-off-by: Frédéric Vachon <fredvac@gmail.com>
mnit: does not depends on opengles1

let nmit_android and mnit_linux import opengles1 themselves

Signed-off-by: Jean Privat <jean@pryen.org>
mnit: remove virtual type IE

There is no point in having specific input-event virtual type.
Most places do not even use IE but directly InputEvent.

Signed-off-by: Jean Privat <jean@pryen.org>
shoot: move only on pressed, not depressed

Signed-off-by: Jean Privat <jean@pryen.org>
tests: remove some very-old useless tests

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add new lines on some tests

Signed-off-by: Jean Privat <jean@pryen.org>
tests: fix base_inline

Signed-off-by: Jean Privat <jean@pryen.org>
tests.sh: remove tap output

Badly implemented and unused now since junit-xml-output

Signed-off-by: Jean Privat <jean@pryen.org>
tests.sh: less hackish way to handle fixme directories for savdirs

Signed-off-by: Jean Privat <jean@pryen.org>
tests.sh: soso are always detected as failed tests

A `soso` is when a test fails only because errors and warnings
differs.

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add tests for tests.sh so we can test the test script

Signed-off-by: Jean Privat <jean@pryen.org>
tests: teach a res file to contains `UNDEFINED` and always match

Signed-off-by: Jean Privat <jean@pryen.org>
tests: clean some .skip files (use some UNDEFINED .res)

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add engine `nitg-sg` for --semi-global

Some platforms starts using it, so better check that we do
not broke it.

Signed-off-by: Jean Privat <jean@pryen.org>
tests.sh: distinguish the generated file from the executed file

Some some future engines that does not produce directly executable files
could still use the tests.sh framework.

Signed-off-by: Jean Privat <jean@pryen.org>
tests: testall.sh include nitg-sg

Signed-off-by: Jean Privat <jean@pryen.org>
tests.sh: new engine `emscripten` for `nitg -m emscripten`

The produced .js files are then executed by nodejs.

All base tests that do not import kernel are skipped because
since the module lib/emscripten.nit imports the kernel module,
an automatic double definition of classes `Object` and `Sys` occurs.

nodejs cannot perform correctly synchronized input, thus `stdin` and all
file reading does not work although they work in a browser.
As a workaround, a special module `emscripten_nodejs.nit` is added that just
print "NOT_YET_IMPLEMENTED" on unsupported services on synchronized input,
thus marking the test as skipped.

Currently, 99 (7% of the 1390 tests) still cause some other kind of failures;
they will be investigated later.

The whole testing of all the tests takes 68m on my machine.
ccache in unusable and the option --jcache of emcc does not bring any boost.
So it is unlikely that `testall.sh` will include this engine.

Signed-off-by: Jean Privat <jean@pryen.org>
Merge: Tests nitg --semi-global

Some work and cleanup on tests.sh and cie.
Also add a new engine `nitg-sg` that is `nitg --semi-global`

Pull-Request: #513
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/standard/ropes: API change, Leaves are now abstract for future flexibility.

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>