nitunit: fix `before-all` and `after-all` detection
authorAlexandre Terrasa <alexandre@moz-code.org>
Thu, 26 Oct 2017 20:37:34 +0000 (16:37 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Thu, 26 Oct 2017 20:37:34 +0000 (16:37 -0400)
commitb9c4d7ee0450b65b463c0de73973a11a3290b2ee
treea0cb1fe0fe01a1edc89e65524d45dbe86c793f86
parent1dae628169146d2fe9af86fd903767c73a1e9421
nitunit: fix `before-all` and `after-all` detection

Before this commit, nitunit did not lookup annotation from parent modules
if no local definition of Sys was found.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/testing/testing_suite.nit
tests/nitunit.args
tests/sav/nitunit_args13.res [new file with mode: 0644]
tests/test_nitunit8.nit [new file with mode: 0644]