coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command-line program to convert 'human' sizes?


From: Assaf Gordon
Subject: Re: Command-line program to convert 'human' sizes?
Date: Wed, 05 Dec 2012 22:05:41 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120922 Icedove/10.0.7

Hello,

With the attached patch, numfmt passes "make syntax-check" and almost passes "make check" 
and "make distcheck".

Regarding the checks: "tests/misc/numfmt.pl" passes all tests successfully.

But:

1. When running "make check", "tests/df/total-verify.sh" fails, so the check 
isn't complete.

2. When running "make check TESTS=tests/misc/numfmt VERBOSE=yes", the tests 
script passes, but the process later fails with this error:
====
$ make check TESTS=tests/misc/numfmt VERBOSE=yes
  GEN    public-submodule-commit
make  check-recursive
make[1]: Entering directory `/home/gordon/projects/coreutils'
Making check in po
make[2]: Entering directory `/home/gordon/projects/coreutils/po'
make[2]: Leaving directory `/home/gordon/projects/coreutils/po'
Making check in .
make[2]: Entering directory `/home/gordon/projects/coreutils'
make  check-TESTS check-local
make[3]: Entering directory `/home/gordon/projects/coreutils'
make[4]: Entering directory `/home/gordon/projects/coreutils'
PASS: tests/misc/numfmt.pl
=============
1 test passed
=============
make[4]: Leaving directory `/home/gordon/projects/coreutils'
  GEN    check-README
  GEN    check-duplicate-no-install
  GEN    sc-avoid-builtin
  GEN    sc-avoid-io
  GEN    sc-avoid-non-zero
  GEN    sc-avoid-path
  GEN    sc-avoid-timezone
  GEN    sc-avoid-zeroes
  GEN    sc-exponent-grouping
  GEN    sc-lower-case-var
  GEN    sc-use-small-caps-NUL
  GEN    check-texinfo
make[3]: Leaving directory `/home/gordon/projects/coreutils'
make[2]: Leaving directory `/home/gordon/projects/coreutils'
Making check in gnulib-tests
make[2]: Entering directory `/home/gordon/projects/coreutils/gnulib-tests'
make  check-recursive
make[3]: Entering directory `/home/gordon/projects/coreutils/gnulib-tests'

< snip >

make[5]: Leaving directory `/home/gordon/projects/coreutils/gnulib-tests'
make  check-TESTS
make[5]: Entering directory `/home/gordon/projects/coreutils/gnulib-tests'
make[6]: Entering directory `/home/gordon/projects/coreutils/gnulib-tests'
make[6]: *** No rule to make target `tests/misc/numfmt.log', needed by 
`test-suite.log'.  Stop.
make[6]: Leaving directory `/home/gordon/projects/coreutils/gnulib-tests'
make[5]: *** [check-TESTS] Error 2
make[5]: Leaving directory `/home/gordon/projects/coreutils/gnulib-tests'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/home/gordon/projects/coreutils/gnulib-tests'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/home/gordon/projects/coreutils/gnulib-tests'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/home/gordon/projects/coreutils/gnulib-tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/gordon/projects/coreutils'
make: *** [check] Error 2

## Strangely, the log file does exist:
$ ls -l tests/misc/numfmt.log
-rw-r--r-- 1 gordon gordon 1069 Dec  5 21:51 tests/misc/numfmt.log
====


Any advice is appreciated,
 -gordon

Attachment: numfmt4.patch.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]