Package: gnucobol Version: 3.0~rc1-2 Severity: serious Tags: patch
Several of the automatic tests provided in debian/tests/ currently fail. I am unable to see from the logs what go wrong, but the failure block the package from migrating into testing. When I run the scripts locally, they work. The tests should be fixed to work also in the CI infrastructure. I propose the following patch to make it easier to figure out from the logs what is going wrong: diff --git a/debian/tests/test01 b/debian/tests/test01 index 22d943e..e8f2fc1 100755 --- a/debian/tests/test01 +++ b/debian/tests/test01 @@ -11,6 +11,7 @@ if [ $res ] ; then echo "success: test01 produced proper results" else echo "error: test01 did not produce proper results" + diff -u test01.exp test01.act fi exit $res diff --git a/debian/tests/test02 b/debian/tests/test02 index 2e06f74..ee6caa9 100755 --- a/debian/tests/test02 +++ b/debian/tests/test02 @@ -11,6 +11,7 @@ if [ $res ] ; then echo "success: test02 produced proper results" else echo "error: test02 did not produce proper results" + diff -u test02.exp test02.act fi exit $res diff --git a/debian/tests/test03 b/debian/tests/test03 index f378787..fedf826 100755 --- a/debian/tests/test03 +++ b/debian/tests/test03 @@ -11,6 +11,7 @@ if [ $res ] ; then echo "success: test03 produced proper results" else echo "error: test03 did not produce proper results" + diff -u test03.exp test03.act fi exit $res diff --git a/debian/tests/test04 b/debian/tests/test04 index 04b325e..ff3a33d 100755 --- a/debian/tests/test04 +++ b/debian/tests/test04 @@ -11,6 +11,7 @@ if [ $res ] ; then echo "success: test04 produced proper results" else echo "error: test04 did not produce proper results" + diff -u test04.exp test04.act fi exit $res -- Happy hacking Petter Reinholdtsen