OLD | NEW |
1 # Copyright 2015 The Native Client Authors. All rights reserved. | 1 # Copyright 2015 The Native Client Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 CTEST_EXECUTABLES=" | 5 CTEST_EXECUTABLES=" |
6 basicstuff | 6 basicstuff |
7 cholesky | 7 cholesky |
8 determinant | 8 determinant |
9 geo_transformations | 9 geo_transformations |
10 inverse | 10 inverse |
11 " | 11 " |
12 | 12 |
13 EXECUTABLES=" | 13 EXECUTABLES=" |
14 test/basicstuff | 14 test/basicstuff |
15 test/cholesky | 15 test/cholesky |
16 test/determinant | 16 test/determinant |
17 test/geo_transformations | 17 test/geo_transformations |
18 test/inverse | 18 test/inverse |
19 " | 19 " |
20 | 20 |
21 EXTRA_CMAKE_ARGS="-DEIGEN_BUILD_PKGCONFIG=OFF -DEIGEN_SPLIT_LARGE_TESTS=OFF" | 21 EXTRA_CMAKE_ARGS="-DEIGEN_BUILD_PKGCONFIG=OFF -DEIGEN_SPLIT_LARGE_TESTS=OFF" |
22 MAKE_TARGETS="$CTEST_EXECUTABLES" | 22 MAKE_TARGETS="$CTEST_EXECUTABLES" |
23 | 23 |
24 # Eigen tests are flakey on the bots: | 24 # Eigen tests are flakey on the bots: |
25 # https://bugs.chromium.org/p/naclports/issues/detail?id=223 | 25 # https://bugs.chromium.org/p/webports/issues/detail?id=223 |
26 # TODO(sbc): re-enable if we can de-flake the tests | 26 # TODO(sbc): re-enable if we can de-flake the tests |
27 TESTS_DISABLED=1 | 27 TESTS_DISABLED=1 |
28 | 28 |
29 TestStep() { | 29 TestStep() { |
30 # Eigen has ~600 tests, we only build a few | 30 # Eigen has ~600 tests, we only build a few |
31 ChangeDir ${BUILD_DIR} | 31 ChangeDir ${BUILD_DIR} |
32 if [ ${NACL_ARCH} = "pnacl" ]; then | 32 if [ ${NACL_ARCH} = "pnacl" ]; then |
33 return | 33 return |
34 fi | 34 fi |
35 for exe in ${CTEST_EXECUTABLES}; do | 35 for exe in ${CTEST_EXECUTABLES}; do |
36 LogExecute test/$exe.sh | 36 LogExecute test/$exe.sh |
37 done | 37 done |
38 } | 38 } |
OLD | NEW |