ATF-devel archive

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

ATF head version make check failure, test use wrong atf-config tool



Hi,

I updated my ATF source tree and run the boostrap tests ... And got a
failure from atf-config.

make  check-TESTS
## ------------------------------------------------------------ ##
## Automated Testing Framework 0.7 test suite: bootstrap tests. ##
## ------------------------------------------------------------ ##
  1: application: arguments and options handling     ok
  2: application: online help option                 ok
  3: test_program: filter test cases by name         ok
  4: test_program: output format and exit codes      ok
  5: test_program: list test cases                   ok
  6: atf-format: formatting of long lines            ok
  7: atf-config: querying of build-time variables    FAILED (t_atf_config.at:52)
  8: atf-run: execution of tests                     ok
  9: test_program: compare the user-visible interfaces ok
 10: subr: atf_check function                        ok

A closer look shows that the testsuite picks up an already installed
atf-config tool (version 0.6 from NetBSD base system), where it should
test the new one ...

njoly@lanfeust [temp/atf]> uname -a
NetBSD lanfeust.sis.pasteur.fr 5.99.15 NetBSD 5.99.15 (LANFEUST) #1: Mon Jul 20 
12:13:16 CEST 2009  
njoly%lanfeust.sis.pasteur.fr@localhost:/local/src/NetBSD/obj.amd64/sys/arch/amd64/compile/LANFEUST
 amd64
njoly@lanfeust [temp/atf]> which atf-config
/usr/bin/atf-config
njoly@lanfeust [temp/atf]> atf-config 
atf_arch : amd64
atf_confdir : /etc/atf
atf_libexecdir : /usr/libexec
atf_machine : x86_64
atf_pkgdatadir : /usr/share/atf
atf_shell : /bin/sh
atf_workdir : /tmp

njoly@lanfeust [temp/atf]> ./tools/atf-config 
atf_arch : amd64
atf_build_cc : cc
atf_build_cflags : -g -O2  -g -Wall -Wcast-qual -Werror -Wextra 
-Wno-sign-compare -Wno-unused-parameter -Wpointer-arith -Wredundant-decls 
-Wreturn-type -Wshadow -Wswitch -Wwrite-strings -D_FORTIFY_SOURCE=2 
-Wmissing-prototypes -Wno-traditional -Wstrict-prototypes
atf_build_cpp : cc -E
atf_build_cppflags : 
atf_build_cxx : g++
atf_build_cxxflags : -g -O2  -g -Wall -Wcast-qual -Werror -Wextra 
-Wno-sign-compare -Wno-unused-parameter -Wpointer-arith -Wredundant-decls 
-Wreturn-type -Wshadow -Wswitch -Wwrite-strings -D_FORTIFY_SOURCE=2 -Wabi 
-Wctor-dtor-privacy -Wno-deprecated -Wno-non-template-friend 
-Wno-pmf-conversions -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder 
-Wsign-promo -Wsynth
atf_confdir : /usr/local/etc/atf
atf_includedir : /usr/local/include
atf_libdir : /usr/local/lib
atf_libexecdir : /usr/local/libexec
atf_machine : x86_64
atf_pkgdatadir : /usr/local/share/atf
atf_shell : /bin/sh
atf_workdir : /tmp

Thanks.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index