Closed wolfv closed 7 years ago
Are you up to date with master
/ 0.3.0
? We had an issue in this test lately on master but this should be solved.
➜ Programs git clone git@github.com:QuantStack/xtensor xmaster
Cloning into 'xmaster'...
Warning: No xauth data; using fake authentication data for X11 forwarding.
X11 forwarding request failed on channel 0
remote: Counting objects: 1662, done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 1662 (delta 5), reused 0 (delta 0), pack-reused 1643
Receiving objects: 100% (1662/1662), 558.20 KiB | 235.00 KiB/s, done.
Resolving deltas: 100% (1118/1118), done.
Checking connectivity... done.
➜ Programs cd xmaster
➜ xmaster git:(master) l
total 76K
drwxr-xr-x. 7 wolfv wolfv 4.0K Jan 10 11:05 .
drwxrwxr-x. 133 wolfv wolfv 4.0K Jan 10 11:04 ..
-rw-r--r--. 1 wolfv wolfv 1018 Jan 10 11:05 .appveyor.yml
-rw-r--r--. 1 wolfv wolfv 3.3K Jan 10 11:05 CMakeLists.txt
drwxr-xr-x. 3 wolfv wolfv 4.0K Jan 10 11:05 docs
-rw-r--r--. 1 wolfv wolfv 118 Jan 10 11:05 environment.yml
drwxr-xr-x. 8 wolfv wolfv 4.0K Jan 10 11:05 .git
-rw-r--r--. 1 wolfv wolfv 516 Jan 10 11:05 .gitignore
drwxr-xr-x. 3 wolfv wolfv 4.0K Jan 10 11:05 include
-rw-r--r--. 1 wolfv wolfv 1.5K Jan 10 11:05 LICENSE
drwxr-xr-x. 3 wolfv wolfv 4.0K Jan 10 11:05 notebooks
-rw-r--r--. 1 wolfv wolfv 9.1K Jan 10 11:05 README.md
-rw-r--r--. 1 wolfv wolfv 38 Jan 10 11:05 readthedocs.yml
drwxr-xr-x. 2 wolfv wolfv 4.0K Jan 10 11:05 test
-rw-r--r--. 1 wolfv wolfv 2.4K Jan 10 11:05 .travis.yml
-rw-r--r--. 1 wolfv wolfv 949 Jan 10 11:05 xtensorConfig.cmake.in
➜ xmaster git:(master) mkdir build
➜ xmaster git:(master) cd build
➜ build git:(master) l
total 8.0K
drwxr-xr-x. 2 wolfv wolfv 4.0K Jan 10 11:05 .
drwxr-xr-x. 8 wolfv wolfv 4.0K Jan 10 11:05 ..
➜ build git:(master) cmake ..
-- The C compiler identification is GNU 6.3.1
-- The CXX compiler identification is GNU 6.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- xtensor v0.3.0
-- Forcing tests build type to Release
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- Performing Test HAS_LTO_FLAG
-- Performing Test HAS_LTO_FLAG - Success
-- Found GTest: /usr/lib64/libgtest.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/wolfv/Programs/xmaster/build
➜ build git:(master) make test_xtensor
Scanning dependencies of target test_xtensor
[ 4%] Building CXX object test/CMakeFiles/test_xtensor.dir/main.cpp.o
[ 8%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xadaptor_semantic.cpp.o
[ 13%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xarray.cpp.o
[ 17%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xarray_adaptor.cpp.o
[ 21%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xbroadcast.cpp.o
[ 26%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xbuilder.cpp.o
[ 30%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xcontainer_semantic.cpp.o
[ 34%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xfunction.cpp.o
[ 39%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xiterator.cpp.o
[ 43%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xio.cpp.o
[ 47%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xmath.cpp.o
[ 52%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xnoalias.cpp.o
[ 56%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xoperation.cpp.o
[ 60%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xscalar.cpp.o
[ 65%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xscalar_semantic.cpp.o
[ 69%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xtensor.cpp.o
[ 73%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xtensor_adaptor.cpp.o
[ 78%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xtensor_semantic.cpp.o
[ 82%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xvectorize.cpp.o
[ 86%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xview.cpp.o
[ 91%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xview_semantic.cpp.o
[ 95%] Building CXX object test/CMakeFiles/test_xtensor.dir/test_xutils.cpp.o
[100%] Linking CXX executable test_xtensor
[100%] Built target test_xtensor
➜ build git:(master) ./test/test_xtensor
[==========] Running 177 tests from 21 test cases.
[----------] Global test environment set-up.
[----------] 7 tests from utils
[ RUN ] utils.for_each
[ OK ] utils.for_each (0 ms)
[ RUN ] utils.accumulate
[ OK ] utils.accumulate (0 ms)
[ RUN ] utils.or
[ OK ] utils.or (0 ms)
[ RUN ] utils.apply
[ OK ] utils.apply (0 ms)
[ RUN ] utils.initializer_dimension
[ OK ] utils.initializer_dimension (0 ms)
[ RUN ] utils.promote_shape
[ OK ] utils.promote_shape (0 ms)
[ RUN ] utils.shape
[ OK ] utils.shape (0 ms)
[----------] 7 tests from utils (0 ms total)
[----------] 8 tests from xview_semantic
[ RUN ] xview_semantic.a_plus_b
[ OK ] xview_semantic.a_plus_b (0 ms)
[ RUN ] xview_semantic.a_minus_b
[ OK ] xview_semantic.a_minus_b (0 ms)
[ RUN ] xview_semantic.a_times_b
[ OK ] xview_semantic.a_times_b (0 ms)
[ RUN ] xview_semantic.a_divdide_by_b
[ OK ] xview_semantic.a_divdide_by_b (0 ms)
[ RUN ] xview_semantic.a_plus_equal_b
[ OK ] xview_semantic.a_plus_equal_b (0 ms)
[ RUN ] xview_semantic.a_minus_equal_b
[ OK ] xview_semantic.a_minus_equal_b (0 ms)
[ RUN ] xview_semantic.a_times_equal_b
[ OK ] xview_semantic.a_times_equal_b (0 ms)
[ RUN ] xview_semantic.a_divide_by_equal_b
[ OK ] xview_semantic.a_divide_by_equal_b (0 ms)
[----------] 8 tests from xview_semantic (0 ms total)
[----------] 9 tests from xview
[ RUN ] xview.simple
[ OK ] xview.simple (0 ms)
[ RUN ] xview.three_dimensional
[ OK ] xview.three_dimensional (0 ms)
[ RUN ] xview.integral_count
[ OK ] xview.integral_count (0 ms)
[ RUN ] xview.integral_skip
[ OK ] xview.integral_skip (0 ms)
[ RUN ] xview.iterator
[ OK ] xview.iterator (0 ms)
[ RUN ] xview.xview_on_xfunction
/home/wolfv/Programs/xmaster/test/test_xview.cpp:182: Failure
Value of: iter_end
Actual: 120-byte object <A0-82 43-83 FF-7F 00-00 D0-82 43-83 FF-7F 00-00 0C-19 DC-00 00-00 00-00 00-00 00-00 00-00 00-00 10-84 43-83 FF-7F 00-00 A0-82 43-83 FF-7F 00-00 18-18 DC-00 00-00 00-00 00-00 00-00 00-00 00-00 DA-FF FF-FF FF-FF FF-FF 70-1E DC-00 00-00 00-00 78-1E DC-00 00-00 00-00 78-1E DC-00 00-00 00-00 00-21 DC-00 00-00 00-00 08-21 DC-00 00-00 00-00 08-21 DC-00 00-00 00-00>
Expected: iter
Which is: 120-byte object <A0-82 43-83 FF-7F 00-00 D0-82 43-83 FF-7F 00-00 0C-19 DC-00 00-00 00-00 00-00 00-00 00-00 00-00 10-84 43-83 FF-7F 00-00 30-83 43-83 FF-7F 00-00 A0-20 DC-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 10-1E DC-00 00-00 00-00 18-1E DC-00 00-00 00-00 18-1E DC-00 00-00 00-00 A0-16 DC-00 00-00 00-00 A8-16 DC-00 00-00 00-00 A8-16 DC-00 00-00 00-00>
[ FAILED ] xview.xview_on_xfunction (0 ms)
[ RUN ] xview.xview_on_xtensor
[ OK ] xview.xview_on_xtensor (0 ms)
[ RUN ] xview.trivial_iterating
[ OK ] xview.trivial_iterating (0 ms)
[ RUN ] xview.const_view
[ OK ] xview.const_view (0 ms)
[----------] 9 tests from xview (1 ms total)
[----------] 4 tests from xvectorize
[ RUN ] xvectorize.function
[ OK ] xvectorize.function (0 ms)
[ RUN ] xvectorize.lambda
[ OK ] xvectorize.lambda (0 ms)
[ RUN ] xvectorize.functor
[ OK ] xvectorize.functor (0 ms)
[ RUN ] xvectorize.noargument
[ OK ] xvectorize.noargument (0 ms)
[----------] 4 tests from xvectorize (0 ms total)
[----------] 3 tests from xtensor_semantic
[ RUN ] xtensor_semantic.tensor_plus_tensor
[ OK ] xtensor_semantic.tensor_plus_tensor (0 ms)
[ RUN ] xtensor_semantic.tensor_plus_array
[ OK ] xtensor_semantic.tensor_plus_array (0 ms)
[ RUN ] xtensor_semantic.array_plus_tensor
[ OK ] xtensor_semantic.array_plus_tensor (0 ms)
[----------] 3 tests from xtensor_semantic (0 ms total)
[----------] 9 tests from xtensor_adaptor
[ RUN ] xtensor_adaptor.shaped_constructor
[ OK ] xtensor_adaptor.shaped_constructor (0 ms)
[ RUN ] xtensor_adaptor.strided_constructor
[ OK ] xtensor_adaptor.strided_constructor (0 ms)
[ RUN ] xtensor_adaptor.copy_semantic
[ OK ] xtensor_adaptor.copy_semantic (0 ms)
[ RUN ] xtensor_adaptor.move_semantic
[ OK ] xtensor_adaptor.move_semantic (0 ms)
[ RUN ] xtensor_adaptor.reshape
[ OK ] xtensor_adaptor.reshape (0 ms)
[ RUN ] xtensor_adaptor.access
[ OK ] xtensor_adaptor.access (0 ms)
[ RUN ] xtensor_adaptor.indexed_access
[ OK ] xtensor_adaptor.indexed_access (0 ms)
[ RUN ] xtensor_adaptor.broadcast_shape
[ OK ] xtensor_adaptor.broadcast_shape (0 ms)
[ RUN ] xtensor_adaptor.storage_iterator
[ OK ] xtensor_adaptor.storage_iterator (0 ms)
[----------] 9 tests from xtensor_adaptor (0 ms total)
[----------] 13 tests from xtensor
[ RUN ] xtensor.shaped_constructor
[ OK ] xtensor.shaped_constructor (0 ms)
[ RUN ] xtensor.strided_constructor
[ OK ] xtensor.strided_constructor (0 ms)
[ RUN ] xtensor.valued_constructor
[ OK ] xtensor.valued_constructor (0 ms)
[ RUN ] xtensor.strided_valued_constructor
[ OK ] xtensor.strided_valued_constructor (0 ms)
[ RUN ] xtensor.copy_semantic
[ OK ] xtensor.copy_semantic (0 ms)
[ RUN ] xtensor.move_semantic
[ OK ] xtensor.move_semantic (0 ms)
[ RUN ] xtensor.reshape
[ OK ] xtensor.reshape (0 ms)
[ RUN ] xtensor.transpose
[ OK ] xtensor.transpose (0 ms)
[ RUN ] xtensor.access
[ OK ] xtensor.access (0 ms)
[ RUN ] xtensor.indexed_access
[ OK ] xtensor.indexed_access (0 ms)
[ RUN ] xtensor.broadcast_shape
[ OK ] xtensor.broadcast_shape (0 ms)
[ RUN ] xtensor.storage_iterator
[ OK ] xtensor.storage_iterator (0 ms)
[ RUN ] xtensor.zerod
[ OK ] xtensor.zerod (0 ms)
[----------] 13 tests from xtensor (1 ms total)
[----------] 8 tests from xscalar_semantic
[ RUN ] xscalar_semantic.a_plus_equal_b
[ OK ] xscalar_semantic.a_plus_equal_b (0 ms)
[ RUN ] xscalar_semantic.a_minus_equal_b
[ OK ] xscalar_semantic.a_minus_equal_b (0 ms)
[ RUN ] xscalar_semantic.a_times_equal_b
[ OK ] xscalar_semantic.a_times_equal_b (0 ms)
[ RUN ] xscalar_semantic.a_divide_by_equal_b
[ OK ] xscalar_semantic.a_divide_by_equal_b (0 ms)
[ RUN ] xscalar_semantic.assign_a_plus_b
[ OK ] xscalar_semantic.assign_a_plus_b (0 ms)
[ RUN ] xscalar_semantic.assign_a_minus_b
[ OK ] xscalar_semantic.assign_a_minus_b (0 ms)
[ RUN ] xscalar_semantic.assign_a_times_b
[ OK ] xscalar_semantic.assign_a_times_b (0 ms)
[ RUN ] xscalar_semantic.assign_a_divide_by_b
[ OK ] xscalar_semantic.assign_a_divide_by_b (0 ms)
[----------] 8 tests from xscalar_semantic (0 ms total)
[----------] 3 tests from xscalar
[ RUN ] xscalar.size
[ OK ] xscalar.size (0 ms)
[ RUN ] xscalar.access
[ OK ] xscalar.access (0 ms)
[ RUN ] xscalar.dimension
[ OK ] xscalar.dimension (0 ms)
[----------] 3 tests from xscalar (0 ms total)
[----------] 6 tests from operation
[ RUN ] operation.plus
[ OK ] operation.plus (0 ms)
[ RUN ] operation.minus
[ OK ] operation.minus (0 ms)
[ RUN ] operation.add
[ OK ] operation.add (0 ms)
[ RUN ] operation.subtract
[ OK ] operation.subtract (0 ms)
[ RUN ] operation.multiply
[ OK ] operation.multiply (0 ms)
[ RUN ] operation.divide
[ OK ] operation.divide (0 ms)
[----------] 6 tests from operation (0 ms total)
[----------] 8 tests from xnoalias
[ RUN ] xnoalias.a_plus_b
[ OK ] xnoalias.a_plus_b (0 ms)
[ RUN ] xnoalias.a_minus_b
[ OK ] xnoalias.a_minus_b (0 ms)
[ RUN ] xnoalias.a_multiplies_b
[ OK ] xnoalias.a_multiplies_b (0 ms)
[ RUN ] xnoalias.a_divides_by_b
[ OK ] xnoalias.a_divides_by_b (0 ms)
[ RUN ] xnoalias.a_plus_equal_b
[ OK ] xnoalias.a_plus_equal_b (0 ms)
[ RUN ] xnoalias.a_minus_equal_b
[ OK ] xnoalias.a_minus_equal_b (0 ms)
[ RUN ] xnoalias.a_times_equal_b
[ OK ] xnoalias.a_times_equal_b (0 ms)
[ RUN ] xnoalias.a_divide_by_equal_b
[ OK ] xnoalias.a_divide_by_equal_b (0 ms)
[----------] 8 tests from xnoalias (0 ms total)
[----------] 35 tests from xmath
[ RUN ] xmath.abs
[ OK ] xmath.abs (0 ms)
[ RUN ] xmath.fabs
[ OK ] xmath.fabs (0 ms)
[ RUN ] xmath.fmod
[ OK ] xmath.fmod (0 ms)
[ RUN ] xmath.remainder
[ OK ] xmath.remainder (0 ms)
[ RUN ] xmath.fma
[ OK ] xmath.fma (0 ms)
[ RUN ] xmath.fmax
[ OK ] xmath.fmax (0 ms)
[ RUN ] xmath.fmin
[ OK ] xmath.fmin (0 ms)
[ RUN ] xmath.fdim
[ OK ] xmath.fdim (0 ms)
[ RUN ] xmath.exp
[ OK ] xmath.exp (0 ms)
[ RUN ] xmath.exp2
[ OK ] xmath.exp2 (0 ms)
[ RUN ] xmath.expm1
[ OK ] xmath.expm1 (0 ms)
[ RUN ] xmath.log
[ OK ] xmath.log (0 ms)
[ RUN ] xmath.log2
[ OK ] xmath.log2 (0 ms)
[ RUN ] xmath.log1p
[ OK ] xmath.log1p (0 ms)
[ RUN ] xmath.pow
[ OK ] xmath.pow (0 ms)
[ RUN ] xmath.sqrt
[ OK ] xmath.sqrt (0 ms)
[ RUN ] xmath.cbrt
[ OK ] xmath.cbrt (0 ms)
[ RUN ] xmath.hypot
[ OK ] xmath.hypot (0 ms)
[ RUN ] xmath.sin
[ OK ] xmath.sin (0 ms)
[ RUN ] xmath.cos
[ OK ] xmath.cos (0 ms)
[ RUN ] xmath.tan
[ OK ] xmath.tan (1 ms)
[ RUN ] xmath.asin
[ OK ] xmath.asin (0 ms)
[ RUN ] xmath.acos
[ OK ] xmath.acos (0 ms)
[ RUN ] xmath.atan
[ OK ] xmath.atan (0 ms)
[ RUN ] xmath.atan2
[ OK ] xmath.atan2 (0 ms)
[ RUN ] xmath.sinh
[ OK ] xmath.sinh (0 ms)
[ RUN ] xmath.cosh
[ OK ] xmath.cosh (0 ms)
[ RUN ] xmath.tanh
[ OK ] xmath.tanh (0 ms)
[ RUN ] xmath.asinh
[ OK ] xmath.asinh (0 ms)
[ RUN ] xmath.acosh
[ OK ] xmath.acosh (0 ms)
[ RUN ] xmath.atanh
[ OK ] xmath.atanh (0 ms)
[ RUN ] xmath.erf
[ OK ] xmath.erf (0 ms)
[ RUN ] xmath.erfc
[ OK ] xmath.erfc (0 ms)
[ RUN ] xmath.tgamma
[ OK ] xmath.tgamma (0 ms)
[ RUN ] xmath.lgamma
[ OK ] xmath.lgamma (0 ms)
[----------] 35 tests from xmath (1 ms total)
[----------] 4 tests from xio
[ RUN ] xio.one_d
[ OK ] xio.one_d (0 ms)
[ RUN ] xio.two_d
[ OK ] xio.two_d (0 ms)
[ RUN ] xio.view
[ OK ] xio.view (0 ms)
[ RUN ] xio.three_d
[ OK ] xio.three_d (0 ms)
[----------] 4 tests from xio (0 ms total)
[----------] 9 tests from xiterator
[ RUN ] xiterator.increment_row_major
[ OK ] xiterator.increment_row_major (0 ms)
[ RUN ] xiterator.increment_column_major
[ OK ] xiterator.increment_column_major (0 ms)
[ RUN ] xiterator.increment_central_major
[ OK ] xiterator.increment_central_major (0 ms)
[ RUN ] xiterator.increment_unit_shape
[ OK ] xiterator.increment_unit_shape (0 ms)
[ RUN ] xiterator.end_row_major
[ OK ] xiterator.end_row_major (0 ms)
[ RUN ] xiterator.end_column_major
[ OK ] xiterator.end_column_major (0 ms)
[ RUN ] xiterator.end_central_major
[ OK ] xiterator.end_central_major (0 ms)
[ RUN ] xiterator.end_unit_shape
[ OK ] xiterator.end_unit_shape (0 ms)
[ RUN ] xiterator.broadcast
[ OK ] xiterator.broadcast (0 ms)
[----------] 9 tests from xiterator (0 ms total)
[----------] 5 tests from xfunction
[ RUN ] xfunction.broadcast_shape
[ OK ] xfunction.broadcast_shape (0 ms)
[ RUN ] xfunction.access
[ OK ] xfunction.access (0 ms)
[ RUN ] xfunction.indexed_access
[ OK ] xfunction.indexed_access (0 ms)
[ RUN ] xfunction.iterator
[ OK ] xfunction.iterator (0 ms)
[ RUN ] xfunction.iterator_end
[ OK ] xfunction.iterator_end (0 ms)
[----------] 5 tests from xfunction (0 ms total)
[----------] 12 tests from xcontainer_semantic
[ RUN ] xcontainer_semantic.a_plus_b
[ OK ] xcontainer_semantic.a_plus_b (0 ms)
[ RUN ] xcontainer_semantic.a_minus_b
[ OK ] xcontainer_semantic.a_minus_b (0 ms)
[ RUN ] xcontainer_semantic.a_times_b
[ OK ] xcontainer_semantic.a_times_b (0 ms)
[ RUN ] xcontainer_semantic.a_divide_by_b
[ OK ] xcontainer_semantic.a_divide_by_b (0 ms)
[ RUN ] xcontainer_semantic.a_plus_equal_b
[ OK ] xcontainer_semantic.a_plus_equal_b (0 ms)
[ RUN ] xcontainer_semantic.a_minus_equal_b
[ OK ] xcontainer_semantic.a_minus_equal_b (0 ms)
[ RUN ] xcontainer_semantic.a_times_equal_b
[ OK ] xcontainer_semantic.a_times_equal_b (0 ms)
[ RUN ] xcontainer_semantic.a_divide_by_equal_b
[ OK ] xcontainer_semantic.a_divide_by_equal_b (0 ms)
[ RUN ] xcontainer_semantic.assign_a_plus_b
[ OK ] xcontainer_semantic.assign_a_plus_b (0 ms)
[ RUN ] xcontainer_semantic.assign_a_minus_b
[ OK ] xcontainer_semantic.assign_a_minus_b (0 ms)
[ RUN ] xcontainer_semantic.assign_a_multiplies_b
[ OK ] xcontainer_semantic.assign_a_multiplies_b (0 ms)
[ RUN ] xcontainer_semantic.assign_a_divides_by_b
[ OK ] xcontainer_semantic.assign_a_divides_by_b (0 ms)
[----------] 12 tests from xcontainer_semantic (0 ms total)
[----------] 1 test from xbuilder
[ RUN ] xbuilder.ones
[ OK ] xbuilder.ones (0 ms)
[----------] 1 test from xbuilder (0 ms total)
[----------] 2 tests from xbroadcast
[ RUN ] xbroadcast.broadcast
[ OK ] xbroadcast.broadcast (0 ms)
[ RUN ] xbroadcast.element
[ OK ] xbroadcast.element (0 ms)
[----------] 2 tests from xbroadcast (0 ms total)
[----------] 9 tests from xarray_adaptor
[ RUN ] xarray_adaptor.shaped_constructor
[ OK ] xarray_adaptor.shaped_constructor (0 ms)
[ RUN ] xarray_adaptor.strided_constructor
[ OK ] xarray_adaptor.strided_constructor (0 ms)
[ RUN ] xarray_adaptor.copy_semantic
[ OK ] xarray_adaptor.copy_semantic (0 ms)
[ RUN ] xarray_adaptor.move_semantic
[ OK ] xarray_adaptor.move_semantic (0 ms)
[ RUN ] xarray_adaptor.reshape
[ OK ] xarray_adaptor.reshape (0 ms)
[ RUN ] xarray_adaptor.access
[ OK ] xarray_adaptor.access (0 ms)
[ RUN ] xarray_adaptor.indexed_access
[ OK ] xarray_adaptor.indexed_access (0 ms)
[ RUN ] xarray_adaptor.broadcast_shape
[ OK ] xarray_adaptor.broadcast_shape (0 ms)
[ RUN ] xarray_adaptor.storage_iterator
[ OK ] xarray_adaptor.storage_iterator (0 ms)
[----------] 9 tests from xarray_adaptor (0 ms total)
[----------] 14 tests from xarray
[ RUN ] xarray.shaped_constructor
[ OK ] xarray.shaped_constructor (0 ms)
[ RUN ] xarray.strided_constructor
[ OK ] xarray.strided_constructor (0 ms)
[ RUN ] xarray.valued_constructor
[ OK ] xarray.valued_constructor (0 ms)
[ RUN ] xarray.strided_valued_constructor
[ OK ] xarray.strided_valued_constructor (0 ms)
[ RUN ] xarray.copy_semantic
[ OK ] xarray.copy_semantic (0 ms)
[ RUN ] xarray.move_semantic
[ OK ] xarray.move_semantic (0 ms)
[ RUN ] xarray.reshape
[ OK ] xarray.reshape (0 ms)
[ RUN ] xarray.transpose
[ OK ] xarray.transpose (0 ms)
[ RUN ] xarray.access
[ OK ] xarray.access (0 ms)
[ RUN ] xarray.indexed_access
[ OK ] xarray.indexed_access (0 ms)
[ RUN ] xarray.broadcast_shape
[ OK ] xarray.broadcast_shape (0 ms)
[ RUN ] xarray.storage_iterator
[ OK ] xarray.storage_iterator (0 ms)
[ RUN ] xarray.initializer_list
[ OK ] xarray.initializer_list (0 ms)
[ RUN ] xarray.zerod
[ OK ] xarray.zerod (0 ms)
[----------] 14 tests from xarray (1 ms total)
[----------] 8 tests from xadaptor_semantic
[ RUN ] xadaptor_semantic.a_plus_b
[ OK ] xadaptor_semantic.a_plus_b (0 ms)
[ RUN ] xadaptor_semantic.a_minus_b
[ OK ] xadaptor_semantic.a_minus_b (0 ms)
[ RUN ] xadaptor_semantic.a_times_b
[ OK ] xadaptor_semantic.a_times_b (0 ms)
[ RUN ] xadaptor_semantic.a_divide_by_b
[ OK ] xadaptor_semantic.a_divide_by_b (0 ms)
[ RUN ] xadaptor_semantic.a_plus_equal_b
[ OK ] xadaptor_semantic.a_plus_equal_b (0 ms)
[ RUN ] xadaptor_semantic.a_minus_equal_b
[ OK ] xadaptor_semantic.a_minus_equal_b (0 ms)
[ RUN ] xadaptor_semantic.a_times_equal_b
[ OK ] xadaptor_semantic.a_times_equal_b (0 ms)
[ RUN ] xadaptor_semantic.a_divide_by_equal_b
[ OK ] xadaptor_semantic.a_divide_by_equal_b (0 ms)
[----------] 8 tests from xadaptor_semantic (0 ms total)
[----------] Global test environment tear-down
[==========] 177 tests from 21 test cases ran. (4 ms total)
[ PASSED ] 176 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] xview.xview_on_xfunction
1 FAILED TEST
:'(
Hum the culprit seems to be line
Weird that we are not seeing this here or in our testing.
At the moment gcc 6.0 is not in the test matrix.
Hum, I just added gcc 6 to the test matrix, and tests pass. I am not able to reproduce so far.
If you check the output on travis it says:
$ export MINCONDA_VERSION="latest"
$ export MINCONDA_LINUX="Linux-x86_64"
$ export MINCONDA_OSX="MacOSX-x86_64"
$ export COMPILER=gcc
$ export GCC=6
$ export CXX=g++
$ export CC=gcc
$ g++ --version
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
which seems to indicate that it still uses 4.6.3 for compilation?
e.g. on my machine i get the following version:
➜ xorig git:(xgenerator_random) ✗ g++ --version
g++ (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
stackoverflow seems to suggest that COMPILER=g++-6
is the correct env var. Not sure though :)
If you check the output on travis it says: [...]
If you check the full log, you see that gcc 6 is the one used. xtensor does not build with gcc 4.6!
you're right, sorry! is there a way to force gcc-6.3?
This is solved by #85
Compiler (Fedora 25):
And the failure: