[oi-dev] Error message after gmake test

Nona Hansel nona.h at seznam.cz
Mon Nov 7 14:33:15 UTC 2022


Hello,




it's been a while since I last contributed to OI (not counting yesterday's 
straight forward sudo update). Today I'm trying to update sed. When I run 
gmake test, I get this message:




make[1]: Leaving directory '/export/home/nona/oi-userland/components/text/
sed/build/amd64'
/usr/bin/touch /export/home/nona/oi-userland/components/text/sed/build/amd
64/.built
/bin/rm -f -rf /export/home/nona/oi-userland/components/text/sed/build/test/
amd64
/bin/mkdir -p /export/home/nona/oi-userland/components/text/sed/build/test/
amd64
(cd /export/home/nona/oi-userland/components/text/sed/build/amd64 ; \
    /usr/bin/env  \
    /usr/gnu/bin/make \
     check) \
    &> /export/home/nona/oi-userland/components/text/sed/build/test/amd64/
test-64-results
print "#!/bin/sh" > /export/home/nona/oi-userland/components/text/sed/build/
test/amd64/transform-64-results; print '/bin/cat /export/home/nona/oi-
userland/components/text/sed/build/test/amd64/test-64-results | \\' >> /
export/home/nona/oi-userland/components/text/sed/build/test/amd64/transform-
64-results; print '/usr/gnu/bin/sed ' '-e "s|/export/home/nona/oi-userland/
components/text/sed/build/amd64|\\$(@D)|g" ' '-e "s|/usr/perl5/5.36/bin/perl
|\\$(PERL)|g" ' '-e "s|/export/home/nona/oi-userland/components/text/sed/sed
-4.9|\\$(SOURCE_DIR)|g" ' "-e 's|/usr/lib/python3.9|\$(PYTHON_DIR)|g'" '-n '
'-e "/TOTAL/p" ' '-e "/SKIP/p" ' '-e "/PASS/p" ' '-e "/FAIL/p" ' '-e "/
ERROR/p" ' ' \\' >> /export/home/nona/oi-userland/components/text/sed/build/
test/amd64/transform-64-results; print '> /export/home/nona/oi-userland/
components/text/sed/build/test/amd64/results-64.snapshot' >> /export/home/
nona/oi-userland/components/text/sed/build/test/amd64/transform-64-results; 
/bin/bash /export/home/nona/oi-userland/components/text/sed/build/test/amd
64/transform-64-results; 
[ -e /export/home/nona/oi-userland/components/text/sed/test/results-all.
master ] || exit 1; /usr/gnu/bin/diff -uNb /export/home/nona/oi-userland/
components/text/sed/test/results-all.master /export/home/nona/oi-userland/
components/text/sed/build/test/amd64/results-64.snapshot > /export/home/
nona/oi-userland/components/text/sed/build/test/amd64/test-64-diffs; print 
"Test results in /export/home/nona/oi-userland/components/text/sed/build/
test/amd64/test-64-results"; if [ -s /export/home/nona/oi-userland/
components/text/sed/build/test/amd64/test-64-diffs ]; then print 
"Differences found."; /bin/cat /export/home/nona/oi-userland/components/
text/sed/build/test/amd64/test-64-diffs; exit 2; else print "No differences 
found."; fi
gmake: *** [/export/home/nona/oi-userland/make-rules/configure.mk:210: /
export/home/nona/oi-userland/components/text/sed/build/amd64/.tested-and-
compared] Error 1




It confuses me. From the files build/test/amd64/results-64.snapshot and 
build/test/amd64/test-64-results I can see that the tests ran fine and 
mostly passed with a few skipped. 





I copied the contents of build/test/amd64/results-64.snapshot into test/
results-64.master because I thought that the build system would compare 
those files, yet I get the above message.





Could you please give me advice of how to run tests correctly?




Best regards,

Nona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20221107/8fb5d540/attachment.html>


More information about the oi-dev mailing list