From 1dd61c6732394219fdbe9abed2af5c785a0309b0 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 13 Aug 2015 16:20:52 +0200 Subject: Added script_mapquit plugin (moved from the StaffPlugins repository) The plugin is used by the Travis CI build, and it makes more sense to be present here, so that it can be kept up to date when the HPM is updated, to avoid build failures. Signed-off-by: Haru --- npc/dev/ci_test.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 npc/dev/ci_test.txt (limited to 'npc/dev') diff --git a/npc/dev/ci_test.txt b/npc/dev/ci_test.txt new file mode 100644 index 000000000..058d25ad5 --- /dev/null +++ b/npc/dev/ci_test.txt @@ -0,0 +1,22 @@ +//===== Hercules Script ====================================== +//= Script engine self-tests, CI integration +//===== By: ================================================== +//= Haru +//===== Current Version: ===================================== +//= 1.0 +//===== Description: ========================================= +//= This script depends on npc/dev/test.txt, and extends it so +// that it can be called in a CI environment and returns an +// appropriate value upon termination. +//= This script is part of the script_mapquit plugin +// distribution, and requires said plugin to be loaded. +//= Usage: ./map-server --load-plugin script_mapquit --load-script npc/dev/test.txt --load-script npc/dev/ci_test.txt + +- script HerculesSelfTestCI -1,{ + end; + +OnInit: + .@val = callfunc("HerculesSelfTestHelper"); + mapquit(.@val); + end; +} -- cgit v1.2.3-60-g2f50