Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Guo <[email protected]>
  • Loading branch information
sophia-guo committed Dec 5, 2024
1 parent a1a033e commit 1d1ef2f
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions test/system/reproducibleCompare/reproducible.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@
# ********************************************************************************

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)
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)
endif

ifndef JDK_FILE
JDK_FILE := $(shell find $(TEST_ROOT)/../jdkbinary/ -type f -name '*-jdk_*.tar.gz')
ifneq (,$(findstring win,$(SPEC)))
JDK_FILE := $(shell find $(TEST_ROOT)/../jdkbinary/ -type f -name '*-jdk_*.zip')
endif
ifeq ($(strip $(JDK_FILE)),)
$(error ERROR! NO JDK_FILE AVAILABLE)
endif
JDK_FILE := $(shell find $(TEST_ROOT)/../jdkbinary/ -type f -name '*-jdk_*.tar.gz')
ifneq (,$(findstring win,$(SPEC)))
JDK_FILE := $(shell find $(TEST_ROOT)/../jdkbinary/ -type f -name '*-jdk_*.zip')
endif
ifeq ($(strip $(JDK_FILE)),)
$(error ERROR! NO JDK_FILE AVAILABLE)
endif
endif

ifneq (,$(findstring linux,$(SPEC)))
SBOM_FILE := $(subst $(TEST_ROOT)/../jdkbinary,/home/jenkins/test,$(SBOM_FILE))
SBOM_FILE := $(subst $(TEST_ROOT)/../jdkbinary,/home/jenkins/test,$(SBOM_FILE))
endif

RM_DEBUGINFO := $(shell find $(TEST_JDK_HOME) -type f -name "*.debuginfo" -delete)

0 comments on commit 1d1ef2f

Please sign in to comment.