Skip to content

Commit 3b2e71d

Browse files
authored
do not fail if is already linked (#184)
* do not fail if is already linked * fix bad key in template
1 parent 6675383 commit 3b2e71d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.CI/Jenkinsfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,8 @@ def runRegressiontest(branch, name, extraFlags, omsHash, dbPrefix, sshConfig, om
804804
export PREVIOUSHOME="${env.HOME}"
805805
export HOME="${libraryPath}"
806806
# we need to do some crap magic here to make sure python3 finds fmpy as we change the HOME here
807-
ln -s -t \${HOME} \${PREVIOUSHOME}/.local .local
807+
# too bad if we cannot do it, just continue
808+
ln -s -t \${HOME} \${PREVIOUSHOME}/.local .local || true
808809
809810
cd OpenModelicaLibraryTesting
810811
# Force /usr/bin/omc as being used for generating the mos-files. Ensures consistent behavior among all tested OMC versions

test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ def cpu_name():
10751075
replacements = (
10761076
(u"#sysInfo#", html.escape(sysInfo)),
10771077
(u"#omcVersion#", html.escape(omc_version)),
1078-
(u"#fmiVersion#", ("<p>"+html.escape("FMI tool: %s" % fmisimulatorversion)+"</p>") if fmisimulatorversion else ""),
1078+
(u"#fmiToolVersion#", ("<p>"+html.escape("FMI tool: %s" % fmisimulatorversion)+"</p>") if fmisimulatorversion else ""),
10791079
(u"#fmi#", ("<p>"+html.escape("FMI version: %s" % conf.get("fmi"))+"</p>") if conf.get("fmi") else ""),
10801080
(u"#optlevel#", html.escape(conf.get("optlevel")) if (canChangeOptLevel and conf.get("optlevel")) else "Tool default"),
10811081
(u"#timeStart#", html.escape(time.strftime('%Y-%m-%d %H:%M:%S', start_as_time))),

0 commit comments

Comments
 (0)