diff options
author | Andreas Fuchs <andreas.fuchs@sit.fraunhofer.de> | 2017-11-22 10:21:18 +0100 |
---|---|---|
committer | Philip Tricca <philip.b.tricca@intel.com> | 2017-11-28 10:17:19 -0800 |
commit | 24fb1306e0204c931bb0cab63d04c6534d49bb78 (patch) | |
tree | 1b0363bd48b82c6181bc038b0c723aaef56e95e4 /.travis.yml | |
parent | bf6b48f5e0533faf682cbb9bee27f46041eb0af6 (diff) | |
download | tpm2-tss-24fb1306e0204c931bb0cab63d04c6534d49bb78.tar.gz |
Makefile: Add target to build check-programs
make check seems to be racy and requires -j 1. Building
check_PROGRAMS can however be -j 99.
Adding a make check-programs target to enable:
make -j 99 && make -j 99 check-programs && make -j 1 check
Also ammended .travis.yml to make use of this.
Signed-off-by: Andreas Fuchs <andreas.fuchs@sit.fraunhofer.de>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index ac98a1d0..e34a46cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,7 +56,8 @@ script: - pushd ./build - ../configure --enable-unit --with-simulatorbin=$(pwd)/../ibmtpm/src/tpm_server - make -j$(nproc) distcheck - - make -j$(nproc) check + - make -j$(nproc) check-programs + - make -j1 check - cat test-suite.log - | for LOG in $(ls -1 test/unit/*.log); do |