Update kelvin_sw_test setting Move the environment variable setting into in-project .bazelrc and set the bazel test to show more information on the failed tests Change-Id: I829a9b9a75b8d9c71be570d25b54f8693fae21c9
diff --git a/platforms/nexus/kelvin.mk b/platforms/nexus/kelvin.mk index 4e24154..9c7036a 100644 --- a/platforms/nexus/kelvin.mk +++ b/platforms/nexus/kelvin.mk
@@ -32,7 +32,7 @@ # Test Kelvin SW artifacts with kelvin ISS simulation kelvin_sw_test: kelvin_sim | $(KELVIN_SW_TESTLOG_DIR) cd "$(KELVIN_SW_SRC_DIR)"; \ - bazel test --test_env=ROOTDIR=$(ROOTDIR) //... ; \ + bazel test --test_output=errors //... ; \ cp -rf bazel-testlogs/tests "$(KELVIN_SW_TESTLOG_DIR)" ## Clean Kelvin SW artifacts
diff --git a/platforms/shodan/kelvin.mk b/platforms/shodan/kelvin.mk index 4e24154..9c7036a 100644 --- a/platforms/shodan/kelvin.mk +++ b/platforms/shodan/kelvin.mk
@@ -32,7 +32,7 @@ # Test Kelvin SW artifacts with kelvin ISS simulation kelvin_sw_test: kelvin_sim | $(KELVIN_SW_TESTLOG_DIR) cd "$(KELVIN_SW_SRC_DIR)"; \ - bazel test --test_env=ROOTDIR=$(ROOTDIR) //... ; \ + bazel test --test_output=errors //... ; \ cp -rf bazel-testlogs/tests "$(KELVIN_SW_TESTLOG_DIR)" ## Clean Kelvin SW artifacts