#1069142 emboss: build time testsuite is failing silently

#1069142#5
Date:
2024-04-17 06:30:03 UTC
From:
To:
Hello,

While looking into why #1069098 has not been detected earlier, I noticed
that emboss build time testsuite is silently failing since at least
6.4.0-3. This needs fixing in order to avoid problems similar to #1069098.

Andrius

#1069142#10
Date:
2024-04-17 07:49:15 UTC
From:
To:
Hi Charles,

I noticed (via 'git blame debian/rules') it was you who has added the
build time tests for emboss. However, they seem to be broken since at
least 6.4.0-3: tests seem to require 'embassy' directory which is not in
the source tarball:

    debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f test-stamp
[ -d debian/testbackup ] || cp -a test debian/testbackup
sed -i "/SET emboss_tempdata/cSET emboss_tempdata /<<PKGBUILDDIR>>/test"
test/.embossrc
sed -i "/SET emboss_qadata/cSET emboss_qadata /<<PKGBUILDDIR>>/test"
test/.embossrc
echo "SET emboss_acdroot /<<PKGBUILDDIR>>/emboss/acd" >> test/.embossrc
echo "SET emboss_data /<<PKGBUILDDIR>>/emboss/data" >> test/.embossrc
echo "SET emboss_docroot /<<PKGBUILDDIR>>/doc" >> test/.embossrc
cd test/qa && LS_COLORS='' EMBOSSRC=/<<PKGBUILDDIR>>/test
PATH=/<<PKGBUILDDIR>>/emboss:$PATH EMBOSS_ROOT=../../../ ./qatest.csh
Failed to find embassy directory at ../../scripts/qatest.pl line 1045.

Perhaps you have any idea how to address this?

If these tests are too difficult to get running, I would like to replace
them with something that could at least check for segmentation faults.

Best wishes,
Andrius