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

Commit

Permalink
Add ugly symlink workaround until JuliaLang/julia#26314 is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Dec 5, 2018
1 parent d560937 commit 891460f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions master/coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
# Define everything needed to do per-commit coverage testing on Linux
###############################################################################

symlink_fix_cmd = """
# Ugly workaround until we fix https://github.com/JuliaLang/julia/issues/26314
rm -rf ../package_linux64/build/usr/share
mkdir -p ../package_linux64/build/usr/share
ln -s ../../../../package_linux64/build/usr/share/julia julia-*/share/julia/
"""

run_coverage_cmd = """
using CoverageBase, Compat, Compat.Test
CoverageBase.runtests(CoverageBase.testnames())
Expand Down Expand Up @@ -69,6 +76,12 @@
command=["/bin/sh", "-c", util.Interpolate("curl -L %(prop:download_url)s | tar zx")],
),

# Ugly symlink fix until https://github.com/JuliaLang/julia/issues/26314 is fixed
steps.ShellCommand(
name="Ugly symlink workaround",
command=["/bin/sh", "-c", symlink_fix_cmd],
),

# Find Julia directory (so we don't have to know the shortcommit)
steps.SetPropertyFromCommand(
name="Find Julia executable",
Expand Down

0 comments on commit 891460f

Please sign in to comment.