Re: [oi-dev] Error message after gmake test
Thank you, Andreas, I will do that. -- Původní e-mail -- Od: Andreas Wacknitz Komu: oi-dev@openindiana.org Datum: 7. 11. 2022 15:44:08 Předmět: Re: [oi-dev] Error message after gmake test " Am 07.11.22 um 15:33 schrieb Nona Hansel: > 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/amd64/.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/amd64/ 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. We have a new default to results-all.master. You'll have to either rename your results-64.master file to results-all.master or set USE_COMMON_TEST_MASTER= no in the Makefile. Regards, Andreas ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev "___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] Error message after gmake test
On Mon, Nov 07, 2022 at 03:33:15PM +0100, Nona Hansel wrote: > 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. Please run 'gmake print-value-COMPONENT_TEST_MASTER' in the components/text/sed directory and you'll see the problem. In short, 'mv test/results-64.master test/results-all.master' should do the trick. HTH. -- +---+ | Marcel Telka e-mail: mar...@telka.sk | |homepage: http://telka.sk/ | +---+ ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] Error message after gmake test
Am 07.11.22 um 15:33 schrieb Nona Hansel: 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/amd64/.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/amd64/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. We have a new default to results-all.master. You'll have to either rename your results-64.master file to results-all.master or set USE_COMMON_TEST_MASTER= no in the Makefile. Regards, Andreas ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
[oi-dev] Error message after gmake test
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___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev