Generated test: add to make clean and fix removal from tarball #2633
From what I could read in the mentioned commit, it was intended to not include the generated code in the tarball (hence the dist-rule), but it doesn't work (I never bothered figure out why). The size difference of the tarball is 8kB so pretty much negligible.
Also, add it to make clean to add a simple way to remove accidental changes to the generated test.
Apparently I didn't check the cmake build. Before I try to fix this, is the idea of the PR sound?
I think it should be possible to get it to work by modifying tests/libtest/CMakeLists.txt according to the following but I haven't manage to get the Cmake build work locally.