Boost logo

Boost-Build :

Subject: [Boost-build] Can we skip the __boost_check_library__.test ?
From: Kuhl, Brian (brian.kuhl_at_[hidden])
Date: 2018-12-02 21:03:23


Hi Boost builders,
We currently running the Boost test suite using ./b2 in the status directory.
We run nightly on several simulators and real boards using ARM, PowerPC, Intel processors compiling Boost 1.68 with clang and GCC
Our test results are being peppered with the occasional failure of __boost_check_library__
I'm pretty sure we don't care about the results of this test in the context cross-compiling VxWorks?
What exactly is it testing for?
And assuming it isn't relevant, how do we "turn it off"?
The library Jam files don't have an explicit reference to this that I can find?

Many Thanks,

Brian Kuhl

===================== Begin CALL output =====================

INFO Performing configuration checks

    - default address-model : 32-bit
    - default architecture : arm
    - default address-model : 32-bit
    - default architecture : arm
    - symlinks supported : yes
...patience...
...patience...
...found 1308 targets...
...updating 17 targets...
capture-output ../bin.v2/libs/disjoint_sets/test/__boost_check_library__.test/clang-vxworks/cross-compile-vxworks/target-os-linux/__boost_check_library__
====== BEGIN OUTPUT ======
libs/disjoint_sets: warning: file not found; Did not find [project-root]/include/boost/[library].h* file. A single header for the library is suggested at [project-root]/include/boost/[library].h* if the library does not have a header directory at [project-root]/include/boost/[library]. <<org-inc-one>>
libs/disjoint_sets: error: directory not found; Missing [project-root]/meta directory. The [project-root]/meta directory is required for all libraries. <<org-meta-dir>>

EXIT STATUS: 1
====== END OUTPUT ======

    status=0
    if test $status -ne 0 ; then
        echo Skipping test execution due to testing.execute=off
        exit 0
    fi
    PYTHONPATH="/opt/TestTriggerLocalPath/Workspace/vx7-boost/2018-12-01/vsb/app/boost/fsl_imx6_llvm_smp_32_vxWorks/3pp/BOOST/boost_1_68_0/status"
export PYTHONPATH
"python" "/opt/TestTriggerLocalPath/Workspace/vx7-boost/2018-12-01/vsb/app/boost/fsl_imx6_llvm_smp_32_vxWorks/3pp/BOOST/boost_1_68_0/status/boost_check_library.py" --boost-root="/opt/TestTriggerLocalPath/Workspace/vx7-boost/2018-12-01/vsb/app/boost/fsl_imx6_llvm_smp_32_vxWorks/3pp/BOOST/boost_1_68_0" --jamfile="[Bb]uild.jam;[Jj]amfile.v2;[Jj]amfile;[Jj]amfile.;[Jj]amfile.jam" --library=libs/disjoint_sets organization > "../bin.v2/libs/disjoint_sets/test/__boost_check_library__.test/clang-vxworks/cross-compile-vxworks/target-os-linux/__boost_check_library__.output" 2>&1 < /dev/null
    status=$?
    echo >> "../bin.v2/libs/disjoint_sets/test/__boost_check_library__.test/clang-vxworks/cross-compile-vxworks/target-os-linux/__boost_check_library__.output"
    echo EXIT STATUS: $status >> "../bin.v2/libs/disjoint_sets/test/__boost_check_library__.test/clang-vxworks/cross-compile-vxworks/target-os-linux/__boost_check_library__.output"
    if test $status -eq 0 ; then
        cp "../bin.v2/libs/disjoint_sets/test/__boost_check_library__.test/clang-vxworks/cross-compile-vxworks/target-os-linux/__boost_check_library__.output" "../bin.v2/libs/disjoint_sets/test/__boost_check_library__.test/clang-vxworks/cross-compile-vxworks/target-os-linux/__boost_check_library__"
    fi
    verbose=0
    if test $status -ne 0 ; then
        verbose=1
    fi
    if test $verbose -eq 1 ; then
        echo ====== BEGIN OUTPUT ======
        cat "../bin.v2/libs/disjoint_sets/test/__boost_check_library__.test/clang-vxworks/cross-compile-vxworks/target-os-linux/__boost_check_library__.output"
        echo ====== END OUTPUT ======
    fi
    exit $status

...failed capture-output ../bin.v2/libs/disjoint_sets/test/__boost_check_library__.test/clang-vxworks/cross-compile-vxworks/target-os-linux/__boost_check_library__...
clang-vxworks.compile.c++ ../bin.v2/libs/disjoint_sets/test/disjoint_set_test.test/clang-vxworks/debug/cross-compile-vxworks/static-only-on/disjoint_set_test.o
In file included from ../libs/disjoint_sets/test/disjoint_set_test.cpp:7:
In file included from /opt/TestTriggerLocalPath/Workspace/vx7-boost/2018-12-01/vsb/app/boost/fsl_imx6_llvm_smp_32_vxWorks/3pp/BOOST/boost_1_68_0/boost/test/minimal.hpp:52:
In file included from /opt/TestTriggerLocalPath/Workspace/vx7-boost/2018-12-01/vsb/app/boost/fsl_imx6_llvm_smp_32_vxWorks/3pp/BOOST/boost_1_68_0/boost/test/detail/global_typedef.hpp:15:
In file included from /opt/TestTriggerLocalPath/Workspace/vx7-boost/2018-12-01/vsb/app/boost/fsl_imx6_llvm_smp_32_vxWorks/3pp/BOOST/boost_1_68_0/boost/test/utils/basic_cstring/basic_cstring.hpp:21:
/opt/TestTriggerLocalPath/Workspace/vx7-boost/2018-12-01/vsb/app/boost/fsl_imx6_llvm_smp_32_vxWorks/3pp/BOOST/boost_1_68_0/boost/test/utils/basic_cstring/bcs_char_traits.hpp:90:20: warning: implicit conversion changes signedness: 'int' to 'std::size_t' (aka 'unsigned int') [-Wsign-conversion]
        return ptr - cstr;
        ~~~~~~ ~~~~^~~~~~
Brian Kuhl
Senior Manager - Information Development
Wind River



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk