Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
ed3d2739
Unverified
Commit
ed3d2739
authored
4 years ago
by
Gigg, Martyn Anthony
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Update macOS buildscript to remove crash report files before running tests (#30985)
Also removes stale MantidPlot code we no longer need.
parents
dccf0867
d25aa25c
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
buildconfig/Jenkins/buildscript
+7
-6
7 additions, 6 deletions
buildconfig/Jenkins/buildscript
with
7 additions
and
6 deletions
buildconfig/Jenkins/buildscript
+
7
−
6
View file @
ed3d2739
...
...
@@ -391,14 +391,15 @@ fi
# Prevent race conditions when creating the user config directory
userconfig_dir
=
$HOME
/.mantid
rm
-fr
$userconfig_dir
# Remove GUI qsettings files
# Remove old application saved state & crash reports on mac.
# If we don't do this then when a previous test has crashed macOS
# will pop up a dialog box and wait for clicking okay. We are heavy
# handed but builders tend not to be used for anything else.
if
[[
${
ON_MACOS
}
==
true
]]
;
then
rm
-f
$HOME
/Library/Preferences/com.mantid.MantidPlot.plist
rm
-f
$HOME
/Library/Preferences/org.mantidproject.MantidPlot.plist
rm
-f
"
$HOME
/Library/Saved Application State/org.mantidproject.MantidPlot.savedState/windows.plist"
else
rm
-f
~/.config/Mantid/MantidPlot.conf
rm
-fr
"
$HOME
/Library/Saved Application State/org.python.python"
rm
-f
$HOME
/Library/Application
\
Support/CrashReporter/
*
fi
# Remove GUI qsettings files
rm
-f
~/.config/mantidproject/mantidworkbench.ini
mkdir
-p
$userconfig_dir
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment