diff options
author | Jim Meyering <jim@meyering.net> | 2007-07-10 22:37:48 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-07-10 23:39:05 +0200 |
commit | 89dc0194511bdf7709ad5fc63acd079d6fa62b75 (patch) | |
tree | 78ac3d864c9cb8546a3d704254c2daa96a0e813d /tests/help-version | |
parent | 471d33582e48a9f9527e231c9bbc575ee9b43e45 (diff) | |
download | coreutils-89dc0194511bdf7709ad5fc63acd079d6fa62b75.tar.xz |
Skip "arch" test if it's not built.
* tests/misc/Makefile.am (built_programs): Define.
(TESTS_ENVIRONMENT): Add $(built_programs), for...
* tests/misc/arch: ...this: skip the test if arch is not built.
* src/Makefile.am (built_programs.list): New rule.
* tests/Makefile.am (built_programs): Rename from all_programs.
(TESTS_ENVIRONMENT): Use built_programs, not all_programs.
* tests/help-version: Likewise.
* NEWS: Mention that using --enable-no-install-program=X may
cause "make check" to fail.
Signed-off-by: Jim Meyering <jim@meyering.net>
Diffstat (limited to 'tests/help-version')
-rwxr-xr-x | tests/help-version | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/help-version b/tests/help-version index dd037eed6..d882d85f8 100755 --- a/tests/help-version +++ b/tests/help-version @@ -39,7 +39,7 @@ expected_failure_status_dir=2 expected_failure_status_ls=2 expected_failure_status_vdir=2 -case "$all_programs" in +case "$built_programs" in *groups*) if test -w /dev/full && test -c /dev/full \ && echo > /dev/full 2>/dev/null; then @@ -59,7 +59,7 @@ scripts to fail, so it is being removed from the list of programs checked by this test. ************************************************ EOF - all_programs=`echo $all_programs | tr ' ' '\n' | grep -v '^groups$'` + built_programs=`echo $built_programs | tr ' ' '\n' | grep -v '^groups$'` fi ;; esac @@ -67,7 +67,7 @@ esac fail=0 for lang in C fr da; do - for i in $all_programs; do + for i in $built_programs; do # Skip `test'; it doesn't accept --help or --version. test $i = test && continue; @@ -196,7 +196,7 @@ stat_args=$tmp_in unlink_args=$tmp_in lbracket_args=": ]" -for i in $all_programs; do +for i in $built_programs; do # Skip these. case $i in chroot|stty|tty|false|chcon|runcon) continue;; esac |