summaryrefslogtreecommitdiff
path: root/npc/dev/ci_test.txt
blob: 058d25ad50b970f8814826807ea7d6c7da10fbfb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
}