diff --git a/test/system/reproducibleCompare/reproducible.mk b/test/system/reproducibleCompare/reproducible.mk index 692fc9063..64df8faa8 100644 --- a/test/system/reproducibleCompare/reproducible.mk +++ b/test/system/reproducibleCompare/reproducible.mk @@ -14,9 +14,11 @@ ifndef SBOM_FILE SBOM_FILE := $(shell ls $(TEST_ROOT)/../jdkbinary/ | grep "sbom" | grep -v "metadata") ifeq ($(strip $(SBOM_FILE)),) - $(error ERROR! NO SBOM_FILE AVAILABLE) - endif - SBOM_FILE := $(TEST_ROOT)/../jdkbinary/$(SBOM_FILE) + $(info ERROR! NO SBOM_FILE AVAILABLE) + SBOM_FILE := + else + SBOM_FILE := $(TEST_ROOT)/../jdkbinary/$(SBOM_FILE) + endif endif ifndef JDK_FILE @@ -25,12 +27,14 @@ ifndef JDK_FILE JDK_FILE := $(shell find $(TEST_ROOT)/../jdkbinary/ -type f -name '*-jdk_*.zip') endif ifeq ($(strip $(JDK_FILE)),) - $(error ERROR! NO JDK_FILE AVAILABLE) + $(info ERROR! NO JDK_FILE AVAILABLE) endif endif ifneq (,$(findstring linux,$(SPEC))) - SBOM_FILE := $(subst $(TEST_ROOT)/../jdkbinary,/home/jenkins/test,$(SBOM_FILE)) + ifneq ($(strip $(SBOM_FILE)),) + SBOM_FILE := $(subst $(TEST_ROOT)/../jdkbinary,/home/jenkins/test,$(SBOM_FILE)) + endif endif RM_DEBUGINFO := $(shell find $(TEST_JDK_HOME) -type f -name "*.debuginfo" -delete) \ No newline at end of file