]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
COVERAGE! Also fixes prvm always running as PRVMSLOWINTERPRETER :(
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 7 Jan 2014 16:29:25 +0000 (16:29 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 7 Jan 2014 16:29:25 +0000 (16:29 +0000)
commitf77d65db40fde1a5e3191628c8b1f9a47b76ba08
treee0ace984859b150e8a90051b39606f6f5ae722da
parentb314e889bc28c04da19258529b3215f37baa6629
COVERAGE! Also fixes prvm always running as PRVMSLOWINTERPRETER :(

Very basic implementation. Needs a persistent store later, I suppose, as
well as better output (e.g. for statements and coverage(), also show
function, file and line).

prvm_coverage 1: report function call coverage
prvm_coverage 2: report coverage() builtin coverage (compiler aided)
prvm_coverage 4: report statement coverage (SLOW)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12042 d7cf8633-e32d-0410-b094-e92efae38249
12 files changed:
clvm_cmds.c
dpdefs/csprogsdefs.qc
dpdefs/dpextensions.qc
dpdefs/menudefs.qc
mvm_cmds.c
progsvm.h
prvm_cmds.c
prvm_cmds.h
prvm_edict.c
prvm_exec.c
prvm_execprogram.h
svvm_cmds.c