fix a problem with previous patch to testapi.c Daniel

* gentest.py testapi.c: fix a problem with previous patch to
  testapi.c
Daniel
3 files changed