d/tests/duktape-dev: Add an automated smoke-test for the -dev package
It's easy for the packaging of a shared library and its -dev package to go wrong in a way that breaks dependent packages, and adding a superficial autopkgtest that is run before upload can catch surprisingly many of those situations. I think each -dev package in Debian would ideally have one of these compile/link/run tests.
In the case of duktape, I've confirmed that running this test against binaries from 2.7.0-1 fails (reproducing #1031801), while running it against 2.7.0-2 succeeds.
Edited by Simon McVittie