]> 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)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 9 Jan 2014 14:17:20 +0000 (15:17 +0100)
commit49e58f6cac0b5fa389f75b8e53ab8e705c63c0f9
treee0ace984859b150e8a90051b39606f6f5ae722da
parenteeb96ed69cba8165ecccbcde91fc7d5bee43ea18
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
::stable-branch::merge=f77d65db40fde1a5e3191628c8b1f9a47b76ba08
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