Skip to content

Utility program to run tests against plugins

Notifications You must be signed in to change notification settings

Zeex/samp-plugin-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plugin Runner

Build status

Plugin runner is a small program that can load and execute SA-MP server plugins against a specified Pawn script. It can be used as a lightweight replacement for the server, for example, when running automated plugin tests.

Usage

plugin-runner path/to/plugin path/to/script.amx

Pass config options (fake server.cfg) with --:

plugin-runner path/to/plugin path/to/script.amx -- "port 8888" "long_call_time 2"

Note that no -- will result in no server.cfg existing, -- with no options following will result in an empty server.cfg being generated, and options being given will obviously be written to the file.