From 7c3214a0ac559cc2234f6995bc7efe6260dd5b79 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Tue, 24 Jan 2017 15:46:33 -0700 Subject: [PATCH] unittest.sh: move 'make' command into .travis.yml The unittest.sh script now assumes that the build has already completed before it is run. Change-Id: I814b7bf462e8596986b80fe31a93c26c82db7d57 Signed-off-by: Daniel Verkamp --- .travis.yml | 4 +++- unittest.sh | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2f4c56c4c..9c25d7af2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,4 +25,6 @@ before_script: - export DPDK_DIR=$PWD/usr/local/share/dpdk/x86_64-native-linuxapp-$CC - popd -script: ./unittest.sh +script: + - make CONFIG_WERROR=y + - ./unittest.sh diff --git a/unittest.sh b/unittest.sh index 775a9a79e..c5adb4e93 100755 --- a/unittest.sh +++ b/unittest.sh @@ -5,8 +5,6 @@ set -xe -make CONFIG_WERROR=y - $valgrind test/lib/nvme/unit/nvme_c/nvme_ut $valgrind test/lib/nvme/unit/nvme_ctrlr_c/nvme_ctrlr_ut $valgrind test/lib/nvme/unit/nvme_ctrlr_cmd_c/nvme_ctrlr_cmd_ut