Skip to content

Commit

Permalink
Do not create files under mounted path
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
  • Loading branch information
sophia-guo committed Aug 22, 2024
1 parent b7c12b3 commit aae887a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
20 changes: 0 additions & 20 deletions test/system/reproducibleCompare/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,24 +59,4 @@
</versions>
<platformRequirements>os.win</platformRequirements>
</test>
<test>
<testCaseName>Rebuild_Same_JDK_Reproducibility_Test_Mac</testCaseName>
<command>ls -l $(TEST_ROOT)$(D)system$(D)reproducibleCompare$(D);\
$(TEST_ROOT)$(D)system$(D)reproducibleCompare$(D)macos_repro_build_compare.sh $(SBOM_FILE) $(JDK_FILE) $(REPORTDIR); \
$(TEST_STATUS)
</command>
<levels>
<level>dev</level>
</levels>
<groups>
<group>system</group>
</groups>
<vendors>
<vendor>eclipse</vendor>
</vendors>
<versions>
<version>21+</version>
</versions>
<platformRequirements>os.osx</platformRequirements>
</test>
</playlist>
6 changes: 4 additions & 2 deletions tooling/reproducible/linux_repro_build_compare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,13 @@ tar xpfz temurin-build/workspace/target/OpenJDK*-jdk_*tar.gz -C compare
cp temurin-build/workspace/target/OpenJDK*-jdk_*tar.gz reproJDK.tar.gz
cp "$SBOM" SBOM.json

cp "$ScriptPath"/repro_*.sh "$PWD"
rc=0

echo "./repro_compare.sh temurin ${comparedDir}/ temurin compare/ Linux 2>&1" | sh &
set +e
echo "./repro_compare.sh temurin $comparedDir/ temurin compare/ Linux 2>&1" | sh &
wait
rc=$?
set -e

if [ $rc -eq 0 ]; then
echo "Compare identical !"
Expand Down

0 comments on commit aae887a

Please sign in to comment.