Comment 1 for bug 1997417

Revision history for this message
Amin Bandali (bandali) wrote (last edit ):

Test plan for duktape

1. Install the required packages, clone the upstream source repo,
   checkout the git tag corresponding to the release version you'd
   like to test, and run `make check'. For example:

       sudo apt install devscripts git npm python2 python-yaml
       git clone https://github.com/svaarala/duktape.git
       cd duktape
       git checkout v2.7.0
       make test

   Note that this is currently a bit tricky since the test suite for
   the latest upstream duktape release uses Python 2, which is no
   longer packaged in upcoming Debian or Ubuntu releases. The scripts
   have been ported to Python 3 on upstream's `master' branch, but the
   change is not included in any existing release.

2. Install build-essential and pkg-config, and build and install
   duktape itself. Then, compile and run the simple test.c from
   https://duktape.org and verify it produces the expected output.

   Alternatively, this can be done automatically as an autopkgtest
   per the attached tarball.