davidmalcolm / gcc-python-plugin

GCC plugin that embeds CPython inside the compiler
GNU General Public License v3.0
197 stars 58 forks source link

[v3] Makefile: Verify demo run for target test-suite #132

Closed vries closed 5 years ago

vries commented 5 years ago

When running make with default target all, we run test targets testcpybuilder, testdejagnu, test-suite and testcpychecker, but none of those excercises gcc-with-cpychecker.

Add a target testdemo, which runs the demo target (which excercises gcc-with-cpychecker) and verifies the output.

[ The demo fails for me with verify_refcounting=True, so demo.expected is generated with verify_refcounting=False. That file needs to be fixed up with the missing verify_refcounting related lines. ]