Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Guo <[email protected]>
  • Loading branch information
sophia-guo committed Aug 22, 2024
1 parent 7de40f0 commit ca3d695
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions tooling/reproducible/linux_repro_build_compare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ ANT_CONTRIB_SHA=4d93e07ae6479049bb28071b069b7107322adaee5b70016674a0bffd4aac47f9
isJdkDir=false
USING_DEVKIT="false"
ScriptPath=$(dirname "$(realpath "$0")")

installPrereqs() {
if test -r /etc/redhat-release; then
# Replace mirrorlist to vault as centos7 reached EOL.
Expand Down Expand Up @@ -196,8 +197,7 @@ if [ "${isJdkDir}" = true ]; then
fi

echo "Rebuild args for makejdk_any_platform.sh are: $TEMURIN_BUILD_ARGS"
#Testing disable build
# echo " cd temurin-build && ./makejdk-any-platform.sh $TEMURIN_BUILD_ARGS 2>&1 | tee build.$$.log" | sh
echo " cd temurin-build && ./makejdk-any-platform.sh $TEMURIN_BUILD_ARGS 2>&1 | tee build.$$.log" | sh

echo Comparing ...
mkdir compare
Expand All @@ -206,16 +206,10 @@ cp temurin-build/workspace/target/OpenJDK*-jdk_*tar.gz reproJDK.tar.gz
cp "$SBOM" SBOM.json

cp "$ScriptPath"/repro_*.sh "$PWD"
echo "under script path
files permission"
ls -l "$ScriptPath"
echo "files permission"
ls -l
chmod +x "$PWD"/repro_*.sh
rc=0
set +e

#Testing disable compare#
#echo "./repro_compare.sh temurin $comparedDir/ temurin compare/ Linux 2>&1" | sh &
echo "./repro_compare.sh temurin $comparedDir/ temurin compare/ Linux 2>&1" | sh &
wait
rc=$?
set -e
Expand Down

0 comments on commit ca3d695

Please sign in to comment.