Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.

Commit cc0c9b5

Browse files
committed
Add ugly symlink workaround until JuliaLang/julia#26314 is fixed
1 parent d560937 commit cc0c9b5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

master/coverage.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
# Define everything needed to do per-commit coverage testing on Linux
33
###############################################################################
44

5+
symlink_fix_cmd = """
6+
# Ugly workaround until we fix https://github.com/JuliaLang/julia/issues/26314
7+
rm -rf ../package_linux64/build/usr/share/julia
8+
mkdir -p ../package_linux64/build/usr/share/julia
9+
ln -s ../../../../package_linux64/build/usr/share/julia julia-*/share/julia/
10+
"""
11+
512
run_coverage_cmd = """
613
using CoverageBase, Compat, Compat.Test
714
CoverageBase.runtests(CoverageBase.testnames())
@@ -69,6 +76,12 @@
6976
command=["/bin/sh", "-c", util.Interpolate("curl -L %(prop:download_url)s | tar zx")],
7077
),
7178

79+
# Ugly symlink fix until https://github.com/JuliaLang/julia/issues/26314 is fixed
80+
steps.ShellCommand(
81+
name="Ugly symlink workaround",
82+
command=["/bin/sh", "-c", symlink_fix_cmd],
83+
),
84+
7285
# Find Julia directory (so we don't have to know the shortcommit)
7386
steps.SetPropertyFromCommand(
7487
name="Find Julia executable",

0 commit comments

Comments
 (0)