choicescript icon indicating copy to clipboard operation
choicescript copied to clipboard

Quicktest fails in scene with multiple entry labels that share a variable-initializing subroutine

Open ChrisPC opened this issue 8 years ago • 0 comments

It may be best practice to define *temp variables at the top of a scene, but that's impossible with a scene that can be launched with different starting *labels, hence this initializing subroutine.

Problem is, Quicktest doesn't seem to recognize this arrangement properly.

test.txt startup.txt

F:\Docs\Choice of Games\test>java -jar js.jar -w -opt -1 -debug autotest.js mygame
startup.txt executing startup,8#1 (9) startup,8#2 (11) UNCOVERED: 14-15 test.txt executing test,goto A test,goto B QUICKTEST FAILED

Error: test line 21: Non-existent variable 'tempstring'

Randomtest and manual execution works fine.

ChrisPC avatar Mar 03 '16 16:03 ChrisPC